#include <stdbool.h>#include "Integra/integra_server.h"Go to the source code of this file.
Functions | |
| void | ntg_lua_eval (ntg_server *server, const char *string) |
| Evaluate a string containing lua code. | |
| void ntg_lua_eval | ( | ntg_server * | server, | |
| const char * | string | |||
| ) |
Evaluate a string containing lua code.
Note, the function returns immediately, and it doesn't matter whether the server is locked or not when calling.
| server | Server object created by ntg_server_new | |
| string | A string containing lua code The string can contain several lines separated by lineshifts. |
References unrun_script_t::script.
Referenced by ntg_runscript().
1.6.1