summaryrefslogtreecommitdiff
path: root/share/swig/2.0.11/tcl/tclruntime.swg
diff options
context:
space:
mode:
Diffstat (limited to 'share/swig/2.0.11/tcl/tclruntime.swg')
-rw-r--r--share/swig/2.0.11/tcl/tclruntime.swg15
1 files changed, 15 insertions, 0 deletions
diff --git a/share/swig/2.0.11/tcl/tclruntime.swg b/share/swig/2.0.11/tcl/tclruntime.swg
new file mode 100644
index 0000000..bb4edd7
--- /dev/null
+++ b/share/swig/2.0.11/tcl/tclruntime.swg
@@ -0,0 +1,15 @@
+/* tcl.h has to appear first */
+%insert(runtime) %{
+#include <stdio.h>
+#include <tcl.h>
+#include <errno.h>
+#include <stdlib.h>
+#include <stdarg.h>
+#include <ctype.h>
+%}
+
+%insert(runtime) "swigrun.swg"; /* Common C API type-checking code */
+%insert(runtime) "swigerrors.swg" /* SWIG errors */
+%insert(runtime) "tclerrors.swg"; /* Tcl Errors */
+%insert(runtime) "tclapi.swg"; /* Tcl API */
+%insert(runtime) "tclrun.swg"; /* Tcl run-time code */