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

Function tsn_set_class_method_value

tsn/src/tsn/tsn.cpp:2252–2255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2250}
2251
2252tsn_result tsn_set_class_method_value(tsn_vm* ctx, tsn_value cls, tsn_value name, tsn_value method) {
2253 return withNameAsAtom(
2254 ctx, name, [&](tsn_atom name) -> int { return tsn_set_class_method(ctx, cls, name, method); });
2255}
2256
2257tsn_result tsn_set_class_static_method(tsn_vm* ctx, tsn_value cls, tsn_atom name, tsn_value method) {
2258 return tsn_do_set_class_method(ctx, cls, name, method);

Callers

nothing calls this directly

Calls 2

withNameAsAtomFunction · 0.85
tsn_set_class_methodFunction · 0.85

Tested by

no test coverage detected