Browse Source

Update mocks

Use types from header file.
master
TheoryOfNekomata 2 years ago
parent
commit
6a0e71faef
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      src/packages/game-test/config/IZ_config.c

+ 5
- 5
src/packages/game-test/config/IZ_config.c View File

@@ -23,13 +23,13 @@ mock(SDL_GetKeyFromName) SDL_KeyCode SDL_GetKeyFromName(const char* name) {
mock_return(SDL_GetKeyFromName) 0;
}

mock(ini_gets) int ini_gets (
const char *Section,
const char *Key,
const char *DefValue,
mock(ini_gets) int ini_gets(
const TCHAR *Section,
const TCHAR *Key,
const TCHAR *DefValue,
char *Buffer,
int BufferSize,
const char *Filename
const TCHAR *Filename
) {
mock_return(ini_gets) 0;
}


Loading…
Cancel
Save