From 19c2dffa3207073114143631ae0e1a0e65c8ab6d Mon Sep 17 00:00:00 2001 From: DarioS Date: Mon, 27 Feb 2023 17:05:17 +0100 Subject: [PATCH] Include : - aggiornamento prototipi. --- EInAPI.h | 2 +- EXeExecutor.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/EInAPI.h b/EInAPI.h index 2612890..ad21143 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -178,7 +178,7 @@ EIN_EXPORT BOOL __stdcall EgtLuaCallFunction( const wchar_t* wsFun) ; EIN_EXPORT BOOL __stdcall EgtLuaEvalNumExpr( const wchar_t* wsExpr, double* pdVal) ; EIN_EXPORT BOOL __stdcall EgtLuaEvalStringExpr( const wchar_t* wsExpr, wchar_t*& wsVal) ; EIN_EXPORT BOOL __stdcall EgtLuaExecLine( const wchar_t* wsLine) ; -EIN_EXPORT BOOL __stdcall EgtLuaExecFile( const wchar_t* wsFilePath) ; +EIN_EXPORT BOOL __stdcall EgtLuaExecFile( const wchar_t* wsFilePath, BOOL bLogInfo) ; EIN_EXPORT BOOL __stdcall EgtLuaRequire( const wchar_t* wsFilePath) ; EIN_EXPORT BOOL __stdcall EgtLuaGetLastError( wchar_t*& wsError) ; diff --git a/EXeExecutor.h b/EXeExecutor.h index b642364..495d69e 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -184,7 +184,7 @@ EXE_EXPORT bool ExeLuaCallFunction( const std::string& sFun) ; EXE_EXPORT bool ExeLuaEvalNumExpr( const std::string& sExpr, double* pdVal) ; EXE_EXPORT bool ExeLuaEvalStringExpr( const std::string& sExpr, std::string& sVal) ; EXE_EXPORT bool ExeLuaExecLine( const std::string& sLine) ; -EXE_EXPORT bool ExeLuaExecFile( const std::string& sFilePath) ; +EXE_EXPORT bool ExeLuaExecFile( const std::string& sFilePath, bool LogInfo = true) ; EXE_EXPORT bool ExeLuaRequire( const std::string& sFilePath) ; EXE_EXPORT bool ExeLuaGetLastError( std::string& sError) ;