Starter project for SDL2.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

13 行
312 B

  1. #ifndef IZ_CONFIG_MOCK_H
  2. #define IZ_CONFIG_MOCK_H
  3. #include "../../test/IZ_test.h"
  4. mock(IZ_GetConfigPath) void IZ_GetConfigPath(char* config_path, size_t string_size) {
  5. const char dummy_path[] = "test-config.ini";
  6. memcpy_s(config_path, string_size, dummy_path, 128);
  7. mock_return(IZ_GetConfigPath);
  8. }
  9. #endif