added runtime support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5361 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e55baa13e3
commit
d60fd9fc44
1 changed files with 10 additions and 0 deletions
|
|
@ -254,6 +254,16 @@ namespace std {
|
|||
%define SWIG_TYPECHECK_STRING_ARRAY 1140 %enddef
|
||||
%define SWIG_TYPECHECK_OBJECT_ARRAY 1150 %enddef
|
||||
|
||||
/* Switch to enable runtime mode */
|
||||
|
||||
#ifndef SWIGSEXP
|
||||
#ifdef SWIG_RUNTIME_MODE
|
||||
%insert("runtime") %{
|
||||
#define SWIG_GLOBAL 1
|
||||
%}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* This template wrapper is used to handle C++ objects that are passed or
|
||||
* returned by value. This is necessary to handle objects that define
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue