changed convert_to_bool_ex to convert_to_boolean_ex from patch 891348
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6119 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
33d169c25e
commit
df7e2ca182
2 changed files with 2 additions and 2 deletions
|
|
@ -160,7 +160,7 @@ strarray_inout(char [ANY])
|
|||
/* Typemap for in/argout references
|
||||
NOTE: we don't choose to use these for arrays yet, maybe later */
|
||||
|
||||
%typemap_inout_ord(bool,convert_to_bool_ex,ZVAL_BOOL)
|
||||
%typemap_inout_ord(bool,convert_to_boolean_ex,ZVAL_BOOL)
|
||||
%typemap_inout_ord(int,convert_to_long_ex,ZVAL_LONG)
|
||||
%typemap_inout_ord(unsigned int,convert_to_long_ex,ZVAL_LONG)
|
||||
%typemap_inout_ord(short,convert_to_long_ex,ZVAL_LONG)
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ _strbuf_in(BUFFER)
|
|||
%enddef
|
||||
|
||||
// Defines an on/argout typemap for ordinal types
|
||||
//Usage: %typemap_inout_ord(bool,convert_to_bool_ex,ZVAL_BOOL)
|
||||
//Usage: %typemap_inout_ord(bool,convert_to_boolean_ex,ZVAL_BOOL)
|
||||
%define %typemap_inout_ord(TYPES,TYPE_IN,TYPE_OUT)
|
||||
%typemap(in) TYPES * ($*1_ltype intr, int force),
|
||||
TYPES & ($*1_ltype intr, int force) %{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue