[luabind-cvs] luabind/luabind/luabind error.hpp,1.3,1.4
Brought to you by:
arvidn,
daniel_wallin
From: Arvid N. <ar...@us...> - 2006-06-14 18:17:18
|
Update of /cvsroot/luabind/luabind/luabind/luabind In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv23625/luabind/luabind Modified Files: error.hpp Log Message: added missing LUABIND_API declarations Index: error.hpp =================================================================== RCS file: /cvsroot/luabind/luabind/luabind/luabind/error.hpp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- error.hpp 19 Feb 2004 21:11:00 -0000 1.3 +++ error.hpp 14 Jun 2006 18:17:14 -0000 1.4 @@ -42,7 +42,7 @@ // may throw, if the copy constructor of an exception that is // being thrown throws another exception, terminate will be called // and the entire application is killed. - class error : public std::exception + class LUABIND_API error : public std::exception { public: error(lua_State* L): m_L(L) {} @@ -58,7 +58,7 @@ // if an object_cast<>() fails, this is thrown // it is also thrown if the return value of // a lua function cannot be converted - class cast_failed : public std::exception + class LUABIND_API cast_failed : public std::exception { public: cast_failed(lua_State* L, LUABIND_TYPE_INFO i): m_L(L), m_info(i) {} @@ -75,16 +75,16 @@ typedef void(*error_callback_fun)(lua_State*); typedef void(*cast_failed_callback_fun)(lua_State*, LUABIND_TYPE_INFO); - void set_error_callback(error_callback_fun e); - void set_cast_failed_callback(cast_failed_callback_fun c); - error_callback_fun get_error_callback(); - cast_failed_callback_fun get_cast_failed_callback(); + LUABIND_API void set_error_callback(error_callback_fun e); + LUABIND_API void set_cast_failed_callback(cast_failed_callback_fun c); + LUABIND_API error_callback_fun get_error_callback(); + LUABIND_API cast_failed_callback_fun get_cast_failed_callback(); #endif typedef int(*pcall_callback_fun)(lua_State*); - void set_pcall_callback(pcall_callback_fun e); - pcall_callback_fun get_pcall_callback(); + LUABIND_API void set_pcall_callback(pcall_callback_fun e); + LUABIND_API pcall_callback_fun get_pcall_callback(); } |