Ruby 4.1.0dev (2026-10-29 revision 952e77c511a0d183f43464cba30c55834eac643e)
Macros | Functions
version.h File Reference

(952e77c511a0d183f43464cba30c55834eac643e)

The version of the Prism library. More...

#include "prism/compiler/exported.h"
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.

◆ 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 77 of file prism.c.