| 2270 | return lua_docompiled_bytestream(L, stream_addr) == 0; |
| 2271 | } |
| 2272 | void add_global_c_function(lua_State *L, const char *name, lua_CFunction func) |
| 2273 | { |
| 2274 | lua_pushcfunction(L, func); |
| 2275 | lua_setglobal(L, name); |
| 2276 | } |
| 2277 | void add_global_string_variable(lua_State *L, const char *name, const char *str) |
| 2278 | { |
| 2279 | if (!name || !str) |
no test coverage detected