1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 22:28:47 -04:00

DBD-SQLite: removed several well-known macros that have been defined since perl 5.6

This commit is contained in:
Kenichi Ishigaki 2009-04-30 14:15:05 +00:00
parent 4f7799b489
commit a568b27dbf

View file

@ -4,20 +4,8 @@
DBISTATE_DECLARE; DBISTATE_DECLARE;
#ifndef SvPV_nolen
#define SvPV_nolen(x) SvPV(x,PL_na)
#endif
#define SvPV_nolen_undef_ok(x) (SvOK(x) ? SvPV_nolen(x) : "undef") #define SvPV_nolen_undef_ok(x) (SvOK(x) ? SvPV_nolen(x) : "undef")
#ifndef call_method
#define call_method(x,y) perl_call_method(x,y)
#endif
#ifndef call_sv
#define call_sv(x,y) perl_call_sv(x,y)
#endif
#define sqlite_error(h,xxh,rc,what) _sqlite_error(aTHX_ __FILE__, __LINE__, h, xxh, rc, what) #define sqlite_error(h,xxh,rc,what) _sqlite_error(aTHX_ __FILE__, __LINE__, h, xxh, rc, what)
/* XXX: is there any good way to use pTHX_/aTHX_ here like above? */ /* XXX: is there any good way to use pTHX_/aTHX_ here like above? */