|
SDL
2.0
|
Include dependency graph for testfile.c:Go to the source code of this file.
Macros | |
| #define | _CRT_NONSTDC_NO_WARNINGS |
| #define | FBASENAME1 "sdldata1" /* this file will be created during tests */ |
| #define | FBASENAME2 "sdldata2" /* this file should not exist before starting test */ |
| #define | NULL ((void *)0) |
| #define | RWOP_ERR_QUIT(x) rwops_error_quit( __LINE__, (x) ) |
Functions | |
| static void | cleanup (void) |
| static void | rwops_error_quit (unsigned line, SDL_RWops *rwops) |
| int | main (int argc, char *argv[]) |
| #define _CRT_NONSTDC_NO_WARNINGS |
Definition at line 16 of file testfile.c.
| #define FBASENAME1 "sdldata1" /* this file will be created during tests */ |
Definition at line 35 of file testfile.c.
| #define FBASENAME2 "sdldata2" /* this file should not exist before starting test */ |
Definition at line 36 of file testfile.c.
| #define NULL ((void *)0) |
Definition at line 40 of file testfile.c.
Referenced by main().
| #define RWOP_ERR_QUIT | ( | x | ) | rwops_error_quit( __LINE__, (x) ) |
Definition at line 61 of file testfile.c.
Referenced by main().
Definition at line 44 of file testfile.c.
References FBASENAME1, and FBASENAME2.
Referenced by main(), rwops_error_quit(), and video_getSetWindowData().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 66 of file testfile.c.
References cleanup(), SDL_RWops::close, FBASENAME1, FBASENAME2, NULL, SDL_RWops::read, RW_SEEK_CUR, RW_SEEK_END, RW_SEEK_SET, RWOP_ERR_QUIT, SDL_Log, SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO, SDL_LogSetPriority, SDL_memcmp, SDL_RWFromFile, SDL_RWops::seek, and SDL_RWops::write.
Definition at line 51 of file testfile.c.
References cleanup(), SDL_RWops::close, SDL_LOG_CATEGORY_APPLICATION, and SDL_LogError.