< Previous | [Index] | slide #7 out of 13 slides | Next >

Using SWIG - cont'd

Using SWIG - cont'd

Note that the suffix_tree.h given is the original unmodified file- a great benifit for the lazy, err enlightened, Perl programmer. The two files generated are

  • SuffixTree.pm
  • suffix_tree_wrap.c

    Both of which need to be edited- the SuffixTree.pm *A LOT* (grin :-))- our final version is shown at the end of this presentation; and the suffix_tree_wrap.c needs just a single line near the beginning which SWIG forgot for some reason:

    
       #include "suffix_tree.h"
    

    < Previous (6) | [Index] | (8/13) Next >


    Offer Kaye. YAPC::Israel::2003. Slides automatically generated by a Perl script. Last update on Sun Apr 6 09:28:17 IDT 2003