You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
klish/plugins/lua/private.h

21 lines
446 B

#ifndef _PLUGIN_H_
#define _PLUGIN_H_
#include <clish/shell.h>
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>
#define LUA_UDATA "lua_state"
#define LUA_SCRIPTS_DIR "scripts_dir"
extern char *scripts_path;
void l_print_error(lua_State *, const char *, const char *, int);
int clish_plugin_init_lua(clish_shell_t *shell);
CLISH_PLUGIN_SYM(clish_plugin_lua_action);
CLISH_PLUGIN_FINI(clish_plugin_lua_fini);
#endif /* _PLUGIN_H_ */