Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / devtools / v8plus / share / swig / 1.3.26 / python / pyruntime.swg
CommitLineData
920dae64
AT
1/* Python.h has to appear first */
2%insert(runtime) %{
3#include <Python.h>
4%}
5
6%insert(runtime) "swigrun.swg"; /* Common C API type-checking code */
7%insert(runtime) "pyapi.swg"; /* SWIG/Pyton API */
8%insert(runtime) "pyrun.swg"; /* Python run-time code */
9
10
11/* When using -nortti, tell directors to avoid RTTI */
12#ifdef SWIG_NORTTI
13%insert("runtime") %{
14#ifndef SWIG_DIRECTOR_NORTTI
15#define SWIG_DIRECTOR_NORTTI
16#endif
17%}
18#endif