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

Function tsn_register_class

tsn/src/tsn/tsn.cpp:1461–1463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1459}
1460
1461static int tsn_register_class(tsn_vm* ctx, JSClassDef* classDef, JSClassID classID) {
1462 return JS_NewClass(JS_GetRuntime(ctx), classID, classDef);
1463}
1464
1465int buildBacktrace(JSContext* /*ctx*/, const JSStackFrame* sf, char* output_buf, size_t output_buf_length) {
1466 auto* closure = tsn_get_closure_from_func(sf->cur_func);

Callers 1

tsn_load_in_contextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected