瀏覽代碼

Update mocks

Use types from header file.
feature/data-structs
TheoryOfNekomata 2 年之前
父節點
當前提交
6a0e71faef
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. +5
    -5
      src/packages/game-test/config/IZ_config.c

+ 5
- 5
src/packages/game-test/config/IZ_config.c 查看文件

@@ -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…
取消
儲存