aboutsummaryrefslogtreecommitdiff
path: root/Lib/swigerrors.swg
diff options
context:
space:
mode:
authorMarcelo Matus <mmatus@acms.arizona.edu>2005-10-20 09:47:56 +0000
committerMarcelo Matus <mmatus@acms.arizona.edu>2005-10-20 09:47:56 +0000
commitba3efb09176587cdff2db4b06821a2bbae65d423 (patch)
tree3bd4867dca5c55664ec52cd23caf2209a898d410 /Lib/swigerrors.swg
parent733322c5391af70e6c7bbfd4160b3ed26e539088 (diff)
downloadswig-ba3efb09176587cdff2db4b06821a2bbae65d423.tar.gz
finishing the first stage of the typemap unification scheme, fixing issues with gcc and valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/swigerrors.swg')
-rw-r--r--Lib/swigerrors.swg17
1 files changed, 17 insertions, 0 deletions
diff --git a/Lib/swigerrors.swg b/Lib/swigerrors.swg
new file mode 100644
index 000000000..b3871873a
--- /dev/null
+++ b/Lib/swigerrors.swg
@@ -0,0 +1,17 @@
+/* Errors in SWIG */
+
+#define SWIG_OK 0
+#define SWIG_ERROR -1
+
+#define SWIG_MemoryError 1
+#define SWIG_IOError 2
+#define SWIG_RuntimeError 3
+#define SWIG_IndexError 4
+#define SWIG_TypeError 5
+#define SWIG_DivisionByZero 6
+#define SWIG_OverflowError 7
+#define SWIG_SyntaxError 8
+#define SWIG_ValueError 9
+#define SWIG_SystemError 10
+#define SWIG_AttributeError 11
+#define SWIG_UnknownError 99