diff options
author | Marcelo Matus <mmatus@acms.arizona.edu> | 2005-10-25 09:31:15 +0000 |
---|---|---|
committer | Marcelo Matus <mmatus@acms.arizona.edu> | 2005-10-25 09:31:15 +0000 |
commit | e7eeff806a795c8bf9efe9fc5a058d162ea45608 (patch) | |
tree | ed464aca23cb752f22b0ad91900a65f2636b6de3 /Lib/perl5/perlruntime.swg | |
parent | b52bcbb2df3198e0cda3f015b77f686ea5686d50 (diff) | |
download | swig-e7eeff806a795c8bf9efe9fc5a058d162ea45608.tar.gz |
eliminate compilation warnings, add docs, and centralize the access to the unified typemap library
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7710 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/perl5/perlruntime.swg')
-rw-r--r-- | Lib/perl5/perlruntime.swg | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Lib/perl5/perlruntime.swg b/Lib/perl5/perlruntime.swg index 9291d49c2..691a9a67f 100644 --- a/Lib/perl5/perlruntime.swg +++ b/Lib/perl5/perlruntime.swg @@ -4,10 +4,6 @@ #include <perl.h> #include <XSUB.h> -/* Get rid of free and malloc defined by perl */ -#undef free -#undef malloc - #ifndef pTHX_ #define pTHX_ #endif @@ -44,7 +40,7 @@ typedef int (CPerlObj::*SwigMagicFuncHack)(SV *, MAGIC *); #define SWIGCLASS_STATIC #else #define MAGIC_PPERL -#define SWIGCLASS_STATIC static +#define SWIGCLASS_STATIC static SWIGUNUSED #ifndef MULTIPLICITY #define SWIG_MAGIC(a,b) (SV *a, MAGIC *b) typedef int (*SwigMagicFunc)(SV *, MAGIC *); |