2D Run-and-gun shooter inspired by One Man's Doomsday, Counter-Strike, and Metal Slug.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

31 行
731 B

  1. #ifndef MININI_MOCK_H
  2. #define MININI_MOCK_H
  3. #include "../src/packages/common/IZ_common.h"
  4. #include "../src/packages/test/IZ_test.h"
  5. mock(ini_getl) long ini_getl(const char *Section, const char *Key, long DefValue, const char *Filename) {
  6. mock_return(ini_getl) DefValue;
  7. }
  8. mock(ini_putl) i32 ini_putl(const char *Section, const char *Key, long Value, const char *Filename) {
  9. mock_return(ini_putl) 1;
  10. }
  11. mock(ini_gets) i32 ini_gets(
  12. const char *Section,
  13. const char *Key,
  14. const char *DefValue,
  15. char *Buffer,
  16. i32 BufferSize,
  17. const char *Filename
  18. ) {
  19. mock_return(ini_gets) 0;
  20. }
  21. mock(ini_puts) i32 ini_puts(const char *Section, const char *Key, const char *Value, const char *Filename) {
  22. mock_return(ini_puts) 1;
  23. }
  24. #endif