Ruby 4.1.0dev (2026-05-15 revision 11de89ca1a94899535875ea594962c79713615b1)
Macros | Functions
version.h File Reference

(11de89ca1a94899535875ea594962c79713615b1)

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   1
 The major version of the Prism library as an int.
 
#define PRISM_VERSION_MINOR   9
 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   "1.9.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   "1.9.0"

The version of the Prism library as a constant string.

Definition at line 29 of file version.h.

◆ PRISM_VERSION_MAJOR

#define PRISM_VERSION_MAJOR   1

The major version of the Prism library as an int.

Definition at line 14 of file version.h.

◆ PRISM_VERSION_MINOR

#define PRISM_VERSION_MINOR   9

The minor version of the Prism library as an int.

Definition at line 19 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 24 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 93 of file prism.c.