From 81bd48dee406603164f35170bb2aa1e82c9fc338 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 2 Feb 2014 13:01:49 +0300 Subject: Add basic rules for cppcheck. --- cppcheck/sdl.cfg | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 cppcheck/sdl.cfg (limited to 'cppcheck') diff --git a/cppcheck/sdl.cfg b/cppcheck/sdl.cfg new file mode 100644 index 000000000..a8eaeabb8 --- /dev/null +++ b/cppcheck/sdl.cfg @@ -0,0 +1,45 @@ + + + false + false + false + false + false + false + + + SDL_FreeSurface + SDL_CreateRGBSurface + SDL_ConvertSurface + TTF_RenderUTF8_Blended + IMG_LoadPNG_RW + IMG_LoadJPG_RW + IMG_Load + + + + SDL_DestroyMutex + SDL_CreateMutex + + + + SDL_WaitThread + SDL_CreateThread + + + + SDL_RWclose + SDL_RWFromFile + + + + SDL_FreeRW + SDL_AllocRW + + + + Mix_FreeMusic + Mix_LoadMUSType_RW + + + -- cgit v1.2.3-70-g09d2