PageRenderTime 39ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/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. bool type in python is too much generic, we invert order for proper
  8. resolution.
  9. */
  10. #undef SWIG_TYPECHECK_BOOL
  11. %define SWIG_TYPECHECK_BOOL 10000 %enddef
  12. /* -----------------------------------------------------------------------------
  13. * The runtime part
  14. * ----------------------------------------------------------------------------- */
  15. %include <pyruntime.swg>
  16. /* -----------------------------------------------------------------------------
  17. * Special user directives
  18. * ----------------------------------------------------------------------------- */
  19. %include <pyuserdir.swg>
  20. /* -----------------------------------------------------------------------------
  21. * Inner macros (ugly ones)
  22. * ----------------------------------------------------------------------------- */
  23. %include <pymacros.swg>
  24. /* -----------------------------------------------------------------------------
  25. * Look for user fragments file. If not found, include empty system one.
  26. * ----------------------------------------------------------------------------- */
  27. %include "pyfragments.swg"
  28. /* -----------------------------------------------------------------------------
  29. * Typemap specializations
  30. * ----------------------------------------------------------------------------- */
  31. %include <pyswigtype.swg>
  32. %include <pyinout.swg>
  33. %include <pyvoid.swg>
  34. %include <pyobject.swg>
  35. %include <pystrbase.swg>
  36. %include <pystrings.swg>
  37. %include <pyvaltypes.swg>
  38. %include <pyptrtypes.swg>
  39. %include <pyprimtypes.swg>
  40. %include <pymisctypes.swg>
  41. %include <pyenum.swg>
  42. /* ------------------------------------------------------------
  43. * Overloaded operator support
  44. * ------------------------------------------------------------ */
  45. %include <pyopers.swg>
  46. /* ------------------------------------------------------------
  47. * Warnings for Python keywords
  48. * ------------------------------------------------------------ */
  49. %include <pythonkw.swg>
  50. /* ------------------------------------------------------------
  51. * The Python autodoc support
  52. * ------------------------------------------------------------ */
  53. %include <pydocs.swg>
  54. /* ------------------------------------------------------------
  55. * The Python initialization function
  56. * ------------------------------------------------------------ */
  57. %include <pyinit.swg>