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