diff options
Diffstat (limited to 'plop.c')
-rw-r--r-- | plop.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -83,7 +83,10 @@ int make_server(const char * node, const char * service) return server; } -// TODO: Write documentation for load_handler +/// Loads a file in path, executes it, then puts first result into package.loaded table and into global table. +/// \param L Lua state to load the handler into +/// \param path Path the script that returns handle is located at +/// \param LUA_OK if successful, appropriate Lua error otherwise int load_handler(lua_State * L, const char * path) { lua_getglobal(L, "package"); |