EgtInterface 1.5i5 :
- aggiunto interprete Lua - portate in interfaccia API molte funzioni di base.
This commit is contained in:
+10
-2
@@ -14,6 +14,7 @@
|
||||
//--------------------------- Include ----------------------------------------
|
||||
#include "stdafx.h"
|
||||
#include "API.h"
|
||||
#include "LUA.h"
|
||||
#include "/EgtDev/Include/EInAPI.h"
|
||||
#include "/EgtDev/Include/EInDllMain.h"
|
||||
#include "/EgtDev/Include/EGkDllMain.h"
|
||||
@@ -64,6 +65,9 @@ __stdcall EgtInit( int nDebug, const wchar_t* sLogFile)
|
||||
LOG_INFO( s_pLogGen, GetEExVersion())
|
||||
LOG_INFO( s_pLogGen, GetEGrVersion())
|
||||
|
||||
// inizializzo l'interprete LUA
|
||||
LuaInit() ;
|
||||
|
||||
return TRUE ;
|
||||
}
|
||||
|
||||
@@ -71,11 +75,15 @@ __stdcall EgtInit( int nDebug, const wchar_t* sLogFile)
|
||||
BOOL
|
||||
__stdcall EgtExit( void)
|
||||
{
|
||||
// cancello tutti i contesti
|
||||
ClearAllGseContexts() ;
|
||||
|
||||
// termino l'interprete LUA
|
||||
LuaExit() ;
|
||||
|
||||
// fine programma
|
||||
LOG_DATETIME( s_pLogGen, " Exit")
|
||||
|
||||
// cancello tutti i contesti
|
||||
ClearAllGseContexts() ;
|
||||
// cancello il logger
|
||||
if ( s_pLogGen != nullptr) {
|
||||
delete s_pLogGen ;
|
||||
|
||||
Reference in New Issue
Block a user