/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
- /* -----------------------------------------------------------------------------
- * python.swg
- *
- * Python configuration module.
- * ----------------------------------------------------------------------------- */
- /*
- bool type in python is too much generic, we invert order for proper
- resolution.
- */
- #undef SWIG_TYPECHECK_BOOL
- %define SWIG_TYPECHECK_BOOL 10000 %enddef
- /* -----------------------------------------------------------------------------
- * The runtime part
- * ----------------------------------------------------------------------------- */
- %include <pyruntime.swg>
- /* -----------------------------------------------------------------------------
- * Special user directives
- * ----------------------------------------------------------------------------- */
- %include <pyuserdir.swg>
- /* -----------------------------------------------------------------------------
- * Inner macros (ugly ones)
- * ----------------------------------------------------------------------------- */
- %include <pymacros.swg>
- /* -----------------------------------------------------------------------------
- * Look for user fragments file. If not found, include empty system one.
- * ----------------------------------------------------------------------------- */
- %include "pyfragments.swg"
- /* -----------------------------------------------------------------------------
- * Typemap specializations
- * ----------------------------------------------------------------------------- */
- %include <pyswigtype.swg>
- %include <pyinout.swg>
- %include <pyvoid.swg>
- %include <pyobject.swg>
- %include <pystrbase.swg>
- %include <pystrings.swg>
- %include <pyvaltypes.swg>
- %include <pyptrtypes.swg>
- %include <pyprimtypes.swg>
- %include <pymisctypes.swg>
- %include <pyenum.swg>
- /* ------------------------------------------------------------
- * Overloaded operator support
- * ------------------------------------------------------------ */
- %include <pyopers.swg>
- /* ------------------------------------------------------------
- * Warnings for Python keywords
- * ------------------------------------------------------------ */
- %include <pythonkw.swg>
- /* ------------------------------------------------------------
- * The Python autodoc support
- * ------------------------------------------------------------ */
- %include <pydocs.swg>
- /* ------------------------------------------------------------
- * The Python initialization function
- * ------------------------------------------------------------ */
- %include <pyinit.swg>