Skip to content

ST::config

Michael Hansen edited this page Jan 6, 2018 · 2 revisions

string_theory configuration macros and types

Macros

Name Summary
ST_MAJOR_VERSION Major string_theory version
ST_MINOR_VERSION Minor string_theory version
ST_VERSION Complete string_theory version (numeric)
ST_VERSION_STR Complete string_theory version as a string literal

Public Types

Type Definition
ST_ssize_t ssize_t -- provided for platforms that don't define ssize_t

Macro Documentation

ST_MAJOR_VERSION

#define ST_MAJOR_VERSION ...

String theory major version. For example, in string_theory 2.1, this value would be 2.


ST_MINOR_VERSION

#define ST_MINOR_VERSION ...

String theory minor version. For example, in string_theory 2.1, this value would be 1.


ST_VERSION

#define ST_VERSION ((ST_MAJOR_VERSION * 100) + ST_MINOR_VERSION)

Complete string_theory API version as a numeric value. For example, in string_theory 2.1, this value would be 201.


ST_VERSION_STR

#define ST_VERSION_STR ...

Complete string_theory API version as a string literal. For example, in string_theory 2.1, this value would be "2.1".