diff options
author | Aki <please@ignore.pl> | 2020-08-16 06:03:09 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2020-08-16 06:03:09 +0200 |
commit | 0ccfb065377e60ca222390d9f25d82d1f9c1e5b2 (patch) | |
tree | 18ea847aab083a2b0005b3a93812756e6d6dbe6e | |
parent | 8e60998945cf27978c8bedf8a352cb1e0f7cc89c (diff) | |
download | plop-0ccfb065377e60ca222390d9f25d82d1f9c1e5b2.zip plop-0ccfb065377e60ca222390d9f25d82d1f9c1e5b2.tar.gz plop-0ccfb065377e60ca222390d9f25d82d1f9c1e5b2.tar.bz2 |
Updated load_handler doc comment
-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"); |