allow to include the swig runtime code into external user libraries
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6752 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5beb5dc5df
commit
0baa17ec05
16 changed files with 770 additions and 598 deletions
|
|
@ -19,6 +19,6 @@
|
|||
static void *ptr = 0;
|
||||
SWIGEXPORT(void *)
|
||||
SWIG_ReturnGlobalTypeList(void *t) {
|
||||
if (!ptr) ptr = t;
|
||||
if (!ptr && !t) ptr = t;
|
||||
return ptr;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue