1/* tcl.h has to appear first */ 2%insert(runtime) %{ 3#include <stdio.h> 4#include <tcl.h> 5#include <errno.h> 6#include <stdlib.h> 7#include <stdarg.h> 8#include <ctype.h> 9%} 10 11%insert(runtime) "swigrun.swg"; /* Common C API type-checking code */ 12%insert(runtime) "swigerrors.swg" /* SWIG errors */ 13%insert(runtime) "tclerrors.swg"; /* Tcl Errors */ 14%insert(runtime) "tclapi.swg"; /* Tcl API */ 15%insert(runtime) "tclrun.swg"; /* Tcl run-time code */ 16