add SWIGVERSION to both the interface and the code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
556e699baa
commit
bbd2e60f3b
1 changed files with 2 additions and 1 deletions
|
|
@ -107,8 +107,9 @@ nocppval
|
|||
#endif
|
||||
%enddef
|
||||
|
||||
/* insert the SWIG_VERSION in the code */
|
||||
/* insert the SWIGVERSION in the interface and the wrapper code */
|
||||
#if SWIG_VERSION
|
||||
#define SWIGVERSION SWIG_VERSION
|
||||
%insert("header") {
|
||||
%define_as(SWIGVERSION, SWIG_VERSION)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue