Fix runtime code when not using exceptions
Add the missing "%insert" line which had been somehow lost.
This commit is contained in:
parent
c05f03d485
commit
27abb84113
1 changed files with 1 additions and 0 deletions
|
|
@ -371,6 +371,7 @@ template <class T> SWIGINTERN SwigObj* SWIG_create_object(T* obj, const char* sy
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
%insert("runtime") %{
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue