summaryrefslogtreecommitdiff
path: root/Lib/swigrun.swg
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/swigrun.swg')
-rw-r--r--Lib/swigrun.swg6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/swigrun.swg b/Lib/swigrun.swg
index 7b8c079ff..1dc9f02d2 100644
--- a/Lib/swigrun.swg
+++ b/Lib/swigrun.swg
@@ -51,6 +51,12 @@
#define SWIG_OLDOBJ 1
#define SWIG_NEWOBJ 2
+
+/* Flags for returning states */
+#define SWIG_OK 0
+#define SWIG_ERROR -1
+
+
#include <string.h>
#ifdef __cplusplus