PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::native_module::Module< Host > Class Template Referencefinal

The one class the macro instantiates: the host plus the module boundary. More...

#include <native_module.hpp>

Public Member Functions

void note_error (const char *text) noexcept
 Presentation text for strategy_get_last_error.
 

Detailed Description

template<typename Host>
class pineforge::native_module::Module< Host >

The one class the macro instantiates: the host plus the module boundary.

Deriving is deliberate — last_error_ is protected engine state, and only a derived class may write it.

Definition at line 87 of file native_module.hpp.

Member Function Documentation

◆ note_error()

template<typename Host>
void pineforge::native_module::Module< Host >::note_error ( const char * text)
inlinenoexcept

Presentation text for strategy_get_last_error.

Never throws: it runs on the C boundary, often from a catch handler.

Definition at line 94 of file native_module.hpp.


The documentation for this class was generated from the following file: