home *** CD-ROM | disk | FTP | other *** search
/ PC World 2001 April / PCWorld_2001-04_cd.bin / Software / TemaCD / webclean / !!!python!!! / BeOpen-Python-2.0.exe / MODULEOBJECT.H < prev    next >
Encoding:
C/C++ Source or Header  |  2000-09-01  |  593 b   |  24 lines

  1.  
  2. /* Module object interface */
  3.  
  4. #ifndef Py_MODULEOBJECT_H
  5. #define Py_MODULEOBJECT_H
  6. #ifdef __cplusplus
  7. extern "C" {
  8. #endif
  9.  
  10. extern DL_IMPORT(PyTypeObject) PyModule_Type;
  11.  
  12. #define PyModule_Check(op) ((op)->ob_type == &PyModule_Type)
  13.  
  14. extern DL_IMPORT(PyObject *) PyModule_New(char *);
  15. extern DL_IMPORT(PyObject *) PyModule_GetDict(PyObject *);
  16. extern DL_IMPORT(char *) PyModule_GetName(PyObject *);
  17. extern DL_IMPORT(char *) PyModule_GetFilename(PyObject *);
  18. extern DL_IMPORT(void) _PyModule_Clear(PyObject *);
  19.  
  20. #ifdef __cplusplus
  21. }
  22. #endif
  23. #endif /* !Py_MODULEOBJECT_H */
  24.