I've tried creating a function that returns the table or tableprocessor of the scripttable, HISE compiles and lets me call my function, but still none of the table/tableprocessor functions are available. Any ideas?

These are the two I tried:

var ScriptingApi::Content::ScriptTable::asTable() { if (auto t = getCachedTable()) return var(t); } var ScriptingApi::Content::ScriptTable::asTable() { if (auto t = getCachedTable()) { ScriptingObjects::ScriptingTableProcessor *st = dynamic_cast<ScriptingObjects::ScriptingTableProcessor*>(t); return var(st); } }