| 249 | } |
| 250 | |
| 251 | void UnregisterFunc(const char* name) |
| 252 | { |
| 253 | lua_init(); |
| 254 | |
| 255 | String n = String::FromUtf8(name); |
| 256 | EXIT_IF(!GlobalGetVar(n).IsCFunction()); |
| 257 | EXIT_IF(!g_help_list->map.Contains(n)); |
| 258 | |
| 259 | RunString(n + U" = nil"); |
| 260 | g_help_list->map.Remove(n); |
| 261 | } |
| 262 | |
| 263 | int ArgGetVarCount() |
| 264 | { |
nothing calls this directly
no test coverage detected