From ea36603015ab31469aa59eff8ee09880d006f83d Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Thu, 11 Mar 2010 10:45:43 +0800 Subject: lua plugin hello world is ok. --- lua/lua-plugin.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 lua/lua-plugin.h (limited to 'lua/lua-plugin.h') diff --git a/lua/lua-plugin.h b/lua/lua-plugin.h new file mode 100644 index 0000000..b2fe8e5 --- /dev/null +++ b/lua/lua-plugin.h @@ -0,0 +1,10 @@ +#ifndef LUA_PLUGIN_H +#define LUA_PLUGIN_H + +int lua_plugin_init(lua_State * L); +int lua_plugin_fini(lua_State * L); + +#define LUA_IMELIBNAME "ime" +LUALIB_API int (luaopen_ime) (lua_State *L); + +#endif -- cgit