| 2245 | } |
| 2246 | |
| 2247 | tsn_result tsn_set_class_method(tsn_vm* ctx, tsn_value cls, tsn_atom name, tsn_value method) { |
| 2248 | return withPrototypeProperty( |
| 2249 | ctx, cls, [&](tsn_value prototype) -> int { return tsn_do_set_class_method(ctx, prototype, name, method); }); |
| 2250 | } |
| 2251 | |
| 2252 | tsn_result tsn_set_class_method_value(tsn_vm* ctx, tsn_value cls, tsn_value name, tsn_value method) { |
| 2253 | return withNameAsAtom( |
no test coverage detected