+ fix: SimpleIni: section iterator callback type

This commit is contained in:
Rainer Kottenhoff 2019-07-23 23:32:49 +02:00
parent 63089273f5
commit 8fe018ce58
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ extern "C" {
// IniFileIterateSection():
//
typedef void (*IterSectionFunc_t)(LPCWSTR key, LPCWSTR value);
typedef void (CALLBACK* IterSectionFunc_t)(LPCWSTR key, LPCWSTR value);
BOOL IniFileIterateSection(LPCWSTR lpFilePath, LPCWSTR lpSectionName, IterSectionFunc_t callBack);

View File

@ -105,7 +105,7 @@ bool IniFileDelete(LPCWSTR lpFilePath, LPCWSTR lpSectionName, LPCWSTR lpKeyName,
// IniFileIterateSection():
//
typedef void (*IterSectionFunc_t)(LPCWSTR key, LPCWSTR value);
typedef void (CALLBACK* IterSectionFunc_t)(LPCWSTR key, LPCWSTR value);
bool IniFileIterateSection(LPCWSTR lpFilePath, LPCWSTR lpSectionName, IterSectionFunc_t callBack);