Python.h 936 B

12345678910111213141516171819202122232425262728293031
  1. // Filename: Python.h
  2. // Created by: drose (12May00)
  3. //
  4. ////////////////////////////////////////////////////////////////////
  5. //
  6. // PANDA 3D SOFTWARE
  7. // Copyright (c) Carnegie Mellon University. All rights reserved.
  8. //
  9. // All use of this software is subject to the terms of the revised BSD
  10. // license. You should have received a copy of this license along
  11. // with this source code in a file named "LICENSE."
  12. //
  13. ////////////////////////////////////////////////////////////////////
  14. // This file, and all the other files in this directory, aren't
  15. // intended to be compiled--they're just parsed by CPPParser (and
  16. // interrogate) in lieu of the actual system headers, to generate the
  17. // interrogate database.
  18. #ifndef PYTHON_H
  19. #define PYTHON_H
  20. class PyObject;
  21. class PyThreadState;
  22. typedef int Py_ssize_t;
  23. struct Py_buffer;
  24. // This file defines PY_VERSION_HEX, which is used in some places.
  25. #include "patchlevel.h"
  26. #endif // PYTHON_H