| /* ----------------------------------------------------------------------------- |
| * javascriptruntime.swg |
| * |
| * Javascript support code |
| * ----------------------------------------------------------------------------- */ |
| |
| %insert(runtime) %{ |
| #include <JavaScriptCore/JavaScript.h> |
| #include <stdio.h> |
| #include <stdlib.h> |
| #include <string.h> |
| #include <errno.h> |
| #include <limits.h> |
| #include <assert.h> |
| %} |
| |
| %insert(runtime) "swigrun.swg"; /* SWIG API */ |
| %insert(runtime) "swigerrors.swg"; /* SWIG errors */ |
| |
| %insert(runtime) "javascriptrun.swg"; /* SWIG errors */ |