MCPcopy Create free account
hub / github.com/Snapchat/Valdi / tsn_get_module_from_value

Function tsn_get_module_from_value

tsn/src/tsn/tsn.cpp:1433–1435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1431}
1432
1433static tsn_module* tsn_get_module_from_value(JSValue value) {
1434 return reinterpret_cast<tsn_module*>(JS_GetOpaque(value, getTSNModuleClassID()));
1435}
1436
1437static void __tsn_module_finalize(JSRuntime* rt, JSValue value) {
1438 auto* module = tsn_get_module_from_value(value);

Callers 2

__tsn_module_finalizeFunction · 0.85
__tsn_module_markFunction · 0.85

Calls 1

getTSNModuleClassIDFunction · 0.85

Tested by

no test coverage detected