Apply patch #1771410 from Wade Brainerd to fix typedef XS(SwigPerlWrapper) in perlrun.swg for ActiveState Perl build 822 and Perl 5.8.9 and 5.10 branches.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9892 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7797ae82aa
commit
a122368370
2 changed files with 10 additions and 1 deletions
|
|
@ -1,6 +1,10 @@
|
||||||
Version 1.3.32 (in progress)
|
Version 1.3.32 (in progress)
|
||||||
============================
|
============================
|
||||||
|
|
||||||
|
08/10/2007: wsfulton
|
||||||
|
[Perl] Apply patch #1771410 from Wade Brainerd to fix typedef XS(SwigPerlWrapper) in
|
||||||
|
perlrun.swg for ActiveState Perl build 822 and Perl 5.8.9 and 5.10 branches.
|
||||||
|
|
||||||
08/10/2007: wsfulton
|
08/10/2007: wsfulton
|
||||||
[Lua] const enum reference typemaps fixed.
|
[Lua] const enum reference typemaps fixed.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -79,6 +79,11 @@ extern "C" {
|
||||||
|
|
||||||
/* SWIG Perl macros */
|
/* SWIG Perl macros */
|
||||||
|
|
||||||
|
/* Macro to declare an XS function */
|
||||||
|
#ifndef XSPROTO
|
||||||
|
# define XSPROTO(name) void name(pTHX_ CV* cv)
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Macro to call an XS function */
|
/* Macro to call an XS function */
|
||||||
#ifdef PERL_OBJECT
|
#ifdef PERL_OBJECT
|
||||||
# define SWIG_CALLXS(_name) _name(cv,pPerl)
|
# define SWIG_CALLXS(_name) _name(cv,pPerl)
|
||||||
|
|
@ -368,7 +373,7 @@ SWIG_Perl_ConvertPacked(SWIG_MAYBE_PERL_OBJECT SV *obj, void *ptr, int sz, swig_
|
||||||
#define SWIG_croak(x) { SWIG_Error(SWIG_RuntimeError, x); SWIG_fail; }
|
#define SWIG_croak(x) { SWIG_Error(SWIG_RuntimeError, x); SWIG_fail; }
|
||||||
|
|
||||||
|
|
||||||
typedef XS(SwigPerlWrapper);
|
typedef XSPROTO(SwigPerlWrapper);
|
||||||
typedef SwigPerlWrapper *SwigPerlWrapperPtr;
|
typedef SwigPerlWrapper *SwigPerlWrapperPtr;
|
||||||
|
|
||||||
/* Structure for command table */
|
/* Structure for command table */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue