13#ifndef FC__LUASCRIPT_FUNC_H
14#define FC__LUASCRIPT_FUNC_H
32 bool required,
int nargs,
int nreturns,
35 bool required,
int nargs,
int nreturns, ...);
bool luascript_func_call_valist(struct fc_lua *fcl, const char *func_name, va_list args)
bool luascript_func_check(struct fc_lua *fcl, struct strvec *missing_func_required, struct strvec *missing_func_optional)
void luascript_func_init(struct fc_lua *fcl)
void luascript_func_add(struct fc_lua *fcl, const char *func_name, bool required, int nargs, int nreturns,...)
bool luascript_func_call(struct fc_lua *fcl, const char *func_name,...)
void luascript_func_add_valist(struct fc_lua *fcl, const char *func_name, bool required, int nargs, int nreturns, va_list args)
bool luascript_func_is_required(struct fc_lua *fcl, const char *func_name)
void luascript_func_free(struct fc_lua *fcl)