Go to the documentation of this file.
19 [[nodiscard]]
const Error *
run(
const char*);
39 Var get(
const char * varName);
44 const Error *
addCallback(
const char* name,
const Error* (*_action)(
Args&));
constexpr const char * PAULA_VERSION
Definition: paula.h:12
Access Paula script variable data.
Definition: args.h:17
const Error * addCallback(const char *name, const Error *(*_action)(Args &))
Add a callback to call from a Paula script.
void runSafe(const char *)
Run a script. If an error occurs, print the error.
Var get(const char *varName)
Get a variable by name. Return 'empty' if the variable is not found.
Access callback arguments (e.g. value of "a" in "f(a)"). Set return value of the callback function,...
Definition: args.h:78
const Error * run(const char *)
Run a script and return error, or NO_ERROR, if everything went well.