Include :
- aggiornamento prototipi.
This commit is contained in:
+6
-6
@@ -38,7 +38,7 @@ class LuaMgr
|
||||
{ Exit() ; }
|
||||
EGN_EXPORT bool Init( void) ;
|
||||
EGN_EXPORT bool Exit( void) ;
|
||||
EGN_EXPORT bool GetVersion( std::string& sLuaVer) ;
|
||||
EGN_EXPORT bool GetVersion( std::string& sLuaVer) const ;
|
||||
EGN_EXPORT bool SetLuaLibsDir( const std::string& sDir) ;
|
||||
EGN_EXPORT bool Require( const std::string& sFile) ;
|
||||
EGN_EXPORT bool RegisterFunction( const std::string& sFunName, PFLUA pFun) ;
|
||||
@@ -48,20 +48,20 @@ class LuaMgr
|
||||
EGN_EXPORT bool ExecFile( const std::string& sFile) ;
|
||||
EGN_EXPORT lua_State* GetLuaState( void)
|
||||
{ return m_pL ; }
|
||||
EGN_EXPORT const std::string& GetLastError( void)
|
||||
EGN_EXPORT const std::string& GetLastError( void) const
|
||||
{ return m_sLastError ; }
|
||||
EGN_EXPORT const std::string& GetLuaLibsDir( void)
|
||||
EGN_EXPORT const std::string& GetLuaLibsDir( void) const
|
||||
{ return m_sLuaLibsDir ; }
|
||||
EGN_EXPORT const std::string& GetLastRequire( void)
|
||||
EGN_EXPORT const std::string& GetLastRequire( void) const
|
||||
{ return m_sLastRequire ; }
|
||||
EGN_EXPORT bool ExistsFunction( const std::string& sFunName) ;
|
||||
EGN_EXPORT bool ExistsFunction( const std::string& sFunName) const ;
|
||||
template<typename... Args>
|
||||
bool CallFunction( const std::string& sFunName, int nRets, const Args&... params) ;
|
||||
template<typename... Args>
|
||||
bool GetFunctionReturns( Args&... rets) ;
|
||||
|
||||
private :
|
||||
EGN_EXPORT void LogError( const std::string& sErr) ;
|
||||
EGN_EXPORT void LogError( const std::string& sErr) const ;
|
||||
|
||||
private :
|
||||
lua_State* m_pL ;
|
||||
|
||||
Reference in New Issue
Block a user