pygame.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. pygame - Python Game Library
  3. Copyright (C) 2000-2001 Pete Shinners
  4. This library is free software; you can redistribute it and/or
  5. modify it under the terms of the GNU Library General Public
  6. License as published by the Free Software Foundation; either
  7. version 2 of the License, or (at your option) any later version.
  8. This library is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  11. Library General Public License for more details.
  12. You should have received a copy of the GNU Library General Public
  13. License along with this library; if not, write to the Free
  14. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  15. Pete Shinners
  16. pete@shinners.org
  17. */
  18. /* To allow the Pygame C api to be globally shared by all code within an
  19. * extension module built from multiple C files, only include the pygame.h
  20. * header within the top level C file, the one which calls the
  21. * 'import_pygame_*' macros. All other C source files of the module should
  22. * include _pygame.h instead.
  23. */
  24. #ifndef PYGAME_H
  25. #define PYGAME_H
  26. #include "_pygame.h"
  27. #endif