1 |
root |
1.1 |
#include "EXTERN.h" |
2 |
|
|
#include "perl.h" |
3 |
|
|
#include "XSUB.h" |
4 |
|
|
|
5 |
|
|
/* try to be compatible with older perls */ |
6 |
|
|
/* SvPV_nolen() macro first defined in 5.005_55 */ |
7 |
|
|
/* this is slow, not threadsafe, but works */ |
8 |
|
|
#include "patchlevel.h" |
9 |
|
|
#if (PATCHLEVEL == 4) || ((PATCHLEVEL == 5) && (SUBVERSION < 55)) |
10 |
|
|
static STRLEN nolen_na; |
11 |
|
|
# define SvPV_nolen(sv) SvPV ((sv), nolen_na) |
12 |
|
|
#endif |
13 |
|
|
#if PATCHLEVEL < 6 |
14 |
|
|
# define call_sv perl_call_sv |
15 |
|
|
#endif |
16 |
|
|
|
17 |
|
|
MODULE = DBIx::Tree PACKAGE = DBIx::Tree |
18 |
|
|
|