export SWIG version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8000 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
aee99ddce7
commit
b1f8846f0b
1 changed files with 9 additions and 1 deletions
|
|
@ -107,6 +107,15 @@ nocppval
|
|||
#endif
|
||||
%enddef
|
||||
|
||||
/* insert the SWIG_VERSION in the code */
|
||||
#if SWIG_VERSION
|
||||
%insert("header") {
|
||||
%define_as(SWIGVERSION, SWIG_VERSION)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Casting operators
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
|
@ -139,7 +148,6 @@ nocppval
|
|||
%define_as(SWIG_as_voidptrptr(a), ((void)%as_voidptr(*a),%reinterpret_cast(a, void**)))
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Allocating/freeing elements
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue