|
PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
|
Runtime version metadata. More...
Data Structures | |
| struct | pf_version_t |
| Runtime version descriptor returned by pf_version_get. More... | |
Functions | |
| pf_version_t | pf_version_get (void) |
| int | pf_abi_version (void) |
| const char * | pf_version_string (void) |
Full version descriptor, the PINEFORGE_VERSION_FULL of the generated pineforge/version.h. | |
Runtime version metadata.
| pf_version_t pf_version_get | ( | void | ) |
References PF_API.
| int pf_abi_version | ( | void | ) |
References PF_API.
Referenced by pineforge::native_module::create(), native_market_example_abi_version(), and native_selected_example_host_epoch().
| const char * pf_version_string | ( | void | ) |
Full version descriptor, the PINEFORGE_VERSION_FULL of the generated pineforge/version.h.
Returns "MAJOR.MINOR.PATCH[-rc.N][-N-gSHA[-dirty]]" for a tagged git checkout, or exactly the VERSION file ("MAJOR.MINOR.PATCH", or "MAJOR.MINOR.PATCH-rc.N" for a release candidate) for a tarball build or one configured with PINEFORGE_VERSION_SOURCE=FILE. pf_version_get carries only the numeric MAJOR.MINOR.PATCH. The pointer is to a static string with program lifetime; do not free.
References PF_API.