mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-11 12:42:31 +00:00
Fixed LUA compilaition issue.
This commit is contained in:
+5
-1
@@ -17,6 +17,7 @@ public:
|
||||
|
||||
LuaEngine();
|
||||
~LuaEngine();
|
||||
|
||||
#ifdef HAVE_LUA
|
||||
// lua_CFunctions
|
||||
static int lua_init_module(lua_State* l_state);
|
||||
@@ -29,15 +30,18 @@ private:
|
||||
lua_State* m_luaState;
|
||||
#endif
|
||||
};
|
||||
|
||||
torrent::Object execute_lua(LuaEngine* engine, rpc::target_type target, const torrent::Object& raw_args, int flags);
|
||||
|
||||
#ifdef HAVE_LUA
|
||||
|
||||
int rtorrent_call(lua_State* l_state);
|
||||
void init_rtorrent_module(lua_State* l_state);
|
||||
void object_to_lua(lua_State* l_state, torrent::Object const& object);
|
||||
void check_lua_status(lua_State* l_state, int status);
|
||||
torrent::Object lua_to_object(lua_State* l_state);
|
||||
torrent::Object lua_callstack_to_object(lua_State* l_state, int command_flags, rpc::target_type* target);
|
||||
torrent::Object lua_callstack_to_object(lua_State* l_state, int command_flags, rpc::target_type* target, std::function<void()>* deleter);
|
||||
|
||||
#endif
|
||||
|
||||
} // namespace rpc
|
||||
|
||||
Reference in New Issue
Block a user