|
PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
|
Versioned resident cache policy. More...
#include <pineforge.h>
Data Fields | |
| uint32_t | struct_size |
| uint32_t | version |
| uint64_t | entry_count |
| const pf_cache_policy_entry_v1 * | entries |
| uint32_t | reserved [2] |
Versioned resident cache policy.
Set struct_size = sizeof(pf_cache_policy_v1) and version = 1; both reserved words and every entry's reserved word must be zero. Nonzero reserved words fail with setting_rejected, input="cache_policy", reason="unparseable_value". The caller owns this descriptor and its entries; the setter copies their values before returning and retains neither pointer. entry_count is a uint64_t count; entries may be NULL only when it is zero. Each successful replacement starts from internal defaults, then applies the entries. Omitted kinds use defaults; duplicate and unknown kinds fail. No entry limits logical records, retained history or backing extent.
Definition at line 976 of file pineforge.h.
| uint32_t pf_cache_policy_v1::struct_size |
Definition at line 977 of file pineforge.h.
| uint32_t pf_cache_policy_v1::version |
Definition at line 978 of file pineforge.h.
| uint64_t pf_cache_policy_v1::entry_count |
Definition at line 979 of file pineforge.h.
| const pf_cache_policy_entry_v1* pf_cache_policy_v1::entries |
Definition at line 980 of file pineforge.h.
| uint32_t pf_cache_policy_v1::reserved[2] |
Definition at line 981 of file pineforge.h.