API reference

interop_bridge.h · C++ API

Browse entries grouped by interface file. Expand an entry for declarations, usage and version boundaries.

Read the related guide →

Entries retain declarations and sources. Runtime verification is recorded per entry; internal source candidates are not a promise of SDK delivery.

include/kui/script/interop_bridge.h
int
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
using NativeFunction = std::function<int(lua_State*)>;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:104

Report an issue with this entry →
InteropBridge::~InteropBridge
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
~InteropBridge();

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:120

Report an issue with this entry →
InteropBridge::asyncTaskCount
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
u32 asyncTaskCount() const;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:191

Report an issue with this entry →
InteropBridge::batchCall
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
std::vector<InteropResult> batchCall(const std::vector<BatchEntry>& entries);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:174

Report an issue with this entry →
InteropBridge::benchmark
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
InteropStats benchmark(const String& name, u32 iterations, const std::vector<ScriptValue>& args = {});

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:204

Report an issue with this entry →
InteropBridge::callLua
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
InteropResult callLua(const String& name, const std::vector<ScriptValue>& args = {});

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:157

Report an issue with this entry →
InteropBridge::callLuaById
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
InteropResult callLuaById(u32 id, const ScriptValue* args, u32 argc);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:151

Report an issue with this entry →
InteropBridge::callLuaByIndex
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
InteropResult callLuaByIndex(u32 index, const ScriptValue* args, u32 argc);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:146

Report an issue with this entry →
InteropBridge::callLuaByName
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
InteropResult callLuaByName(const String& name, const ScriptValue* args, u32 argc);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:154

Report an issue with this entry →
InteropBridge::cancelAsync
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
void cancelAsync(u32 taskId);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:185

Report an issue with this entry →
InteropBridge::dispatchNative
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
int dispatchNative(const String& name, lua_State* L);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:160

Report an issue with this entry →
InteropBridge::dispatchNativeByIndex
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
int dispatchNativeByIndex(u32 index, lua_State* L);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:165

Report an issue with this entry →
InteropBridge::getStats
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
const InteropStats* getStats(const String& name) const;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:199

Report an issue with this entry →
InteropBridge::getStatsMutable
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
InteropStats* getStatsMutable(const String& name);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:200

Report an issue with this entry →
InteropBridge::InteropBridge
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
explicit InteropBridge(lua_State* L);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:119

Report an issue with this entry →
InteropBridge::InteropBridge
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
InteropBridge(const InteropBridge&) = delete;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:122

Report an issue with this entry →
InteropBridge::isProfilingEnabled
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
bool isProfilingEnabled() const

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:197

Report an issue with this entry →
InteropBridge::luaFunctionNames
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
std::vector<String> luaFunctionNames() const;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:210

Report an issue with this entry →
InteropBridge::luaState
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
lua_State* luaState() const

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:217

Report an issue with this entry →
InteropBridge::nativeFunctionNames
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
std::vector<String> nativeFunctionNames() const;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:208

Report an issue with this entry →
InteropBridge::nowNs
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
static u64 nowNs();

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:220

Report an issue with this entry →
InteropBridge::operator=
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
InteropBridge& operator=(const InteropBridge&) = delete;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:124

Report an issue with this entry →
InteropBridge::registerLuaAPI
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
void registerLuaAPI();

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:212

Report an issue with this entry →
InteropBridge::registerLuaFunction
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
u32 registerLuaFunction(const String& name);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:135

Report an issue with this entry →
InteropBridge::registerLuaRef
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
u32 registerLuaRef(const String& name, int luaRef);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:140

Report an issue with this entry →
InteropBridge::registerNative
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
u32 registerNative(const String& name, NativeFunction func);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:126

Report an issue with this entry →
InteropBridge::resetAllStats
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
void resetAllStats();

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:202

Report an issue with this entry →
InteropBridge::resetStats
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
void resetStats(const String& name);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:201

Report an issue with this entry →
InteropBridge::scheduleAsync
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
u32 scheduleAsync(const String& luaCode, f32 budgetMs = 4.0f);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:176

Report an issue with this entry →
InteropBridge::scheduleAsyncFunction
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
u32 scheduleAsyncFunction(f32 budgetMs = 4.0f);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:181

Report an issue with this entry →
InteropBridge::setProfilingEnabled
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
void setProfilingEnabled(bool enabled)

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:194

Report an issue with this entry →
InteropBridge::tick
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
void tick(f64 nowMs, f32 budgetMs = 4.0f);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:188

Report an issue with this entry →
InteropBridge::unregisterLua
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
bool unregisterLua(const String& name);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:143

Report an issue with this entry →
InteropBridge::unregisterNative
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
bool unregisterNative(const String& name);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:132

Report an issue with this entry →
InteropResult::fail
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
static InteropResult fail(InteropError e, String msg)

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:99

Report an issue with this entry →
InteropResult::ok
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
bool ok() const

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:94

Report an issue with this entry →
InteropResult::success
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
static InteropResult success(ScriptValue v = ScriptValue::nil())

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:96

Report an issue with this entry →
InteropStats::avgNs
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
u64 avgNs() const

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:46

Report an issue with this entry →
InteropStats::p99Ns
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
u64 p99Ns() const

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:50

Report an issue with this entry →
InteropStats::record
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
void record(u64 ns)

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:35

Report an issue with this entry →
InteropStats::reset
Needs verification3.61.7C++

Installed header declaration in the script module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

interop_bridge.h
void reset()

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/script/interop_bridge.h:60

Report an issue with this entry →
Browse this reference type →