update lua related doc, add missing bindings

This commit is contained in:
Robin Gareus
2016-04-10 23:01:44 +02:00
parent c76ef64870
commit c6d4fafcd9
3 changed files with 21 additions and 3 deletions

View File

@@ -1589,6 +1589,7 @@ public:
*/
Namespace& addCFunction (char const* name, int (*const fp)(lua_State*))
{
DATADOC ("Free C Function", name, fp)
lua_pushcfunction (L, fp);
rawsetfield (L, -2, name);