/tags/rel-1-3-25/SWIG/Lib/python/python.swg
Unknown | 72 lines | 57 code | 15 blank | 0 comment | 0 complexity | be7653dca6d63519fd71e400583309b9 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
1/* ----------------------------------------------------------------------------- 2 * python.swg 3 * 4 * Python configuration module. 5 * ----------------------------------------------------------------------------- */ 6 7/* 8 bool type in python is too much generic, we invert order for proper 9 resolution. 10*/ 11 12#undef SWIG_TYPECHECK_BOOL 13%define SWIG_TYPECHECK_BOOL 10000 %enddef 14 15 16/* ----------------------------------------------------------------------------- 17 * The runtime part 18 * ----------------------------------------------------------------------------- */ 19%include <pyruntime.swg> 20 21/* ----------------------------------------------------------------------------- 22 * Special user directives 23 * ----------------------------------------------------------------------------- */ 24%include <pyuserdir.swg> 25 26/* ----------------------------------------------------------------------------- 27 * Inner macros (ugly ones) 28 * ----------------------------------------------------------------------------- */ 29%include <pymacros.swg> 30 31/* ----------------------------------------------------------------------------- 32 * Look for user fragments file. If not found, include empty system one. 33 * ----------------------------------------------------------------------------- */ 34%include "pyfragments.swg" 35 36/* ----------------------------------------------------------------------------- 37 * Typemap specializations 38 * ----------------------------------------------------------------------------- */ 39%include <pyswigtype.swg> 40%include <pyinout.swg> 41%include <pyvoid.swg> 42%include <pyobject.swg> 43%include <pystrbase.swg> 44%include <pystrings.swg> 45%include <pyvaltypes.swg> 46%include <pyptrtypes.swg> 47%include <pyprimtypes.swg> 48%include <pymisctypes.swg> 49%include <pyenum.swg> 50 51/* ------------------------------------------------------------ 52 * Overloaded operator support 53 * ------------------------------------------------------------ */ 54%include <pyopers.swg> 55 56/* ------------------------------------------------------------ 57 * Warnings for Python keywords 58 * ------------------------------------------------------------ */ 59%include <pythonkw.swg> 60 61/* ------------------------------------------------------------ 62 * The Python autodoc support 63 * ------------------------------------------------------------ */ 64 65%include <pydocs.swg> 66 67/* ------------------------------------------------------------ 68 * The Python initialization function 69 * ------------------------------------------------------------ */ 70%include <pyinit.swg> 71 72