[Function.SetGlobal.begin]
| 244 | |
| 245 | // [Function.SetGlobal.begin] |
| 246 | void Function_SetGlobal(const char* name, TVMFFIObject* func) { |
| 247 | TVMFFIByteArray name_byte_array = {name, strlen(name)}; |
| 248 | int err_code = TVMFFIFunctionSetGlobal(&name_byte_array, func, 0); |
| 249 | assert(err_code == 0); |
| 250 | } |
| 251 | // [Function.SetGlobal.end] |
| 252 | |
| 253 | // [Error.Print.begin] |
nothing calls this directly
no test coverage detected