Ruby 4.1.0dev (2026-11-18 revision bcf3b03b44ae598e3adb59d359cf32202091a318)
version.h File Reference

(bcf3b03b44ae598e3adb59d359cf32202091a318)

The version of the Prism library. More...

Include dependency graph for version.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PRISM_VERSION_MAJOR   2
 The major version of the Prism library as an int.
#define PRISM_VERSION_MINOR   1
 The minor version of the Prism library as an int.
#define PRISM_VERSION_PATCH   0
 The patch version of the Prism library as an int.
#define PRISM_VERSION   "2.1.0"
 The version of the Prism library as a constant string.

Functions

PRISM_EXPORTED_FUNCTION const char * pm_version (void)
 The prism version and the serialization format.

Detailed Description

The version of the Prism library.

Definition in file version.h.

Macro Definition Documentation

◆ PRISM_VERSION

#define PRISM_VERSION   "2.1.0"

The version of the Prism library as a constant string.

Definition at line 33 of file version.h.

Referenced by pm_version().

◆ PRISM_VERSION_MAJOR

#define PRISM_VERSION_MAJOR   2

The major version of the Prism library as an int.

Definition at line 18 of file version.h.

◆ PRISM_VERSION_MINOR

#define PRISM_VERSION_MINOR   1

The minor version of the Prism library as an int.

Definition at line 23 of file version.h.

◆ PRISM_VERSION_PATCH

#define PRISM_VERSION_PATCH   0

The patch version of the Prism library as an int.

Definition at line 28 of file version.h.

Function Documentation

◆ pm_version()

PRISM_EXPORTED_FUNCTION const char * pm_version ( void )

The prism version and the serialization format.

Returns
The prism version as a constant string.

Definition at line 74 of file prism.c.