21 lines
337 B
C
21 lines
337 B
C
#pragma once
|
|
|
|
#include <lauxlib.h>
|
|
#include <lua.h>
|
|
#include <lualib.h>
|
|
|
|
/**
|
|
* @brief list of all functions
|
|
*/
|
|
extern struct luaL_Reg *womlib;
|
|
|
|
int wom_register_subcmd(lua_State *L);
|
|
|
|
/**
|
|
* @brief push a lua table with all the subcmds onto the lua stack
|
|
*
|
|
* @param L the lua state
|
|
* @return
|
|
*/
|
|
int wom_list_subcmds(lua_State *L);
|