ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/XML-DB/DB.xs
Revision: 1.3
Committed: Sun Apr 21 17:30:20 2002 UTC (22 years ago) by root
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -64 lines
Log Message:
*** empty log message ***

File Contents

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