[Function.GetGlobal.begin]
| 234 | |
| 235 | // [Function.GetGlobal.begin] |
| 236 | TVMFFIObject* Function_RetrieveGlobal(const char* name) { |
| 237 | TVMFFIObject* out = NULL; |
| 238 | TVMFFIByteArray name_byte_array = {name, strlen(name)}; |
| 239 | int err_code = TVMFFIFunctionGetGlobal(&name_byte_array, (void**)(&out)); |
| 240 | assert(err_code == 0); |
| 241 | return out; |
| 242 | } |
| 243 | // [Function.GetGlobal.end] |
| 244 | |
| 245 | // [Function.SetGlobal.begin] |
nothing calls this directly
no test coverage detected