source: tags/svn.1.5.4/PERL2ARB/typemap

Last change on this file was 6318, checked in by westram, 14 years ago
  • ARBDB
    • compiles as C++ (no longer compiled as plain C)
    • removed ARBDB2 + ARBDBS
    • removed rotten C++-wrappers (ARBDBPP)
    • generates special header for perl-interface to reduce dependencies (ad_p_prot.h)
  • removed (ARBDB)
    • gb_search_enum (merged with GB_TYPES)
  • renamed (ARBDB)
    • gbs_malloc_copy → GB_memdup
    • gb_search_types → GB_SEARCH_TYPE + renamed enum-members
  • tweaked perl interface
    • code in ARBDB is now able to 'die' correctly (see GBP_croak_function)
    • compiles as C++
    • wrote generic functions for enum ↔ string conversion (perl uses strings for enum values)
    • added needed conversion functions
    • removed handcoded xsubs (now all are generated by arb_proto_2_xsub - nevertheless, it's still possible to define xsubs manually)
    • ARB::find and ARB::find_string (3rd parameter needs different values, only one file affected: PERL_SCRIPTS/GENOME/GI.pm - fixed)
    • removed all functions using GBQUARK from perl interface
  • perl interface generator (arb_proto_2_xsub)
    • completely rewritten
    • does automatic type conversion (expecting that the needed functions are defined in ARBDB/adperl.c)
  • prototype generator
    • compiles as C++
    • switch -F accept's '^' as beginning-of-name expression
  • removed ARB_EDIT
    • moved naligner interface code to EDIT4
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 281 bytes
Line 
1# ------------------------------
2# typemap for ARB perl interface
3#
4# Note: if you have problems with enum types
5# see ../TOOLS/arb_proto_2_xsub.cxx@enum_type_replacement
6
7TYPEMAP
8
9GBDATA *        T_PTROBJ
10
11uint32_t        T_U_LONG
12GB_ULONG        T_U_LONG
13
14GB_BOOL         T_INT
Note: See TracBrowser for help on using the repository browser.