1 | #include "EXTERN.h" |
1 | #include "EXTERN.h" |
2 | #include "perl.h" |
2 | #include "perl.h" |
3 | #include "XSUB.h" |
3 | #include "XSUB.h" |
|
|
4 | |
|
|
5 | #include <string.h> |
|
|
6 | |
|
|
7 | // a compiler supporting C99 is required |
4 | |
8 | |
5 | /* try to be compatible with older perls */ |
9 | /* try to be compatible with older perls */ |
6 | /* SvPV_nolen() macro first defined in 5.005_55 */ |
10 | /* SvPV_nolen() macro first defined in 5.005_55 */ |
7 | /* this is slow, not threadsafe, but works */ |
11 | /* this is slow, not threadsafe, but works */ |
8 | #include "patchlevel.h" |
12 | #include "patchlevel.h" |
… | |
… | |
12 | #endif |
16 | #endif |
13 | #if PATCHLEVEL < 6 |
17 | #if PATCHLEVEL < 6 |
14 | # define call_sv perl_call_sv |
18 | # define call_sv perl_call_sv |
15 | #endif |
19 | #endif |
16 | |
20 | |
17 | MODULE = DBIx::Tree PACKAGE = DBIx::Tree |
21 | MODULE = XML::DB PACKAGE = XML::DB::Key |
18 | |
22 | |
|
|
23 | PROTOTYPES: ENABLE |
|
|
24 | |
|
|
25 | |