From 27abb84113eac4979c8b049ba25810cf9d6934f9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 14 Apr 2016 01:48:37 +0200 Subject: [PATCH] Fix runtime code when not using exceptions Add the missing "%insert" line which had been somehow lost. --- Lib/c/c.swg | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/c/c.swg b/Lib/c/c.swg index 94deb3eb7..03cdb19ef 100644 --- a/Lib/c/c.swg +++ b/Lib/c/c.swg @@ -371,6 +371,7 @@ template SWIGINTERN SwigObj* SWIG_create_object(T* obj, const char* sy #else +%insert("runtime") %{ #ifdef __cplusplus extern "C" { #endif