dwww Home | Show directory contents | Find package

.. include:: ../common.txt

.. highlight:: c

******************************************
  API exported by pygame.version
******************************************

src_py/version.py
=================

Header file: src_c/include/pygame.h

Version information can be retrieved at compile-time using these macros.

.. versionadded:: 1.9.5

.. c:macro:: PG_MAJOR_VERSION

.. c:macro:: PG_MINOR_VERSION

.. c:macro:: PG_PATCH_VERSION

.. c:macro:: PG_VERSIONNUM(MAJOR, MINOR, PATCH)

   Returns an integer representing the given version.

.. c:macro:: PG_VERSION_ATLEAST(MAJOR, MINOR, PATCH)

   Returns true if the current version is at least equal
   to the specified version.

Generated by dwww version 1.15 on Wed Jun 26 03:39:04 CEST 2024.