/usr/share/cppcheck/cfg/sdl.cfg is in cppcheck 1.82-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | <?xml version="1.0"?>
<def format="2">
<function name="SDL_mutexP">
<noreturn>false</noreturn>
<arg nr="1">
<not-bool/>
<not-null/>
</arg>
</function>
<function name="SDL_mutexV">
<noreturn>false</noreturn>
<arg nr="1">
<not-bool/>
<not-null/>
</arg>
</function>
<function name="SDL_RWsize">
<noreturn>false</noreturn>
<arg nr="1">
<not-bool/>
<not-null/>
</arg>
</function>
<function name="SDL_RWread">
<noreturn>false</noreturn>
<arg nr="1">
<not-bool/>
<not-null/>
</arg>
<arg nr="2">
<not-bool/>
<not-null/>
</arg>
</function>
<function name="IMG_isPNG">
<noreturn>false</noreturn>
<arg nr="1">
<not-bool/>
<not-null/>
</arg>
</function>
<function name="IMG_isJPG">
<noreturn>false</noreturn>
<arg nr="1">
<not-bool/>
<not-null/>
</arg>
</function>
<resource>
<dealloc>SDL_FreeSurface</dealloc>
<alloc init="true">SDL_CreateRGBSurface</alloc>
<alloc init="true">SDL_ConvertSurface</alloc>
<alloc init="true">TTF_RenderUTF8_Blended</alloc>
<alloc init="true">IMG_LoadPNG_RW</alloc>
<alloc init="true">IMG_LoadJPG_RW</alloc>
<alloc init="true">IMG_Load</alloc>
</resource>
<resource>
<dealloc>SDL_DestroyMutex</dealloc>
<alloc init="true">SDL_CreateMutex</alloc>
</resource>
<resource>
<dealloc>SDL_WaitThread</dealloc>
<alloc init="true">SDL_CreateThread</alloc>
</resource>
<resource>
<dealloc>SDL_RWclose</dealloc>
<alloc init="true">SDL_RWFromFile</alloc>
</resource>
<resource>
<dealloc>SDL_FreeRW</dealloc>
<alloc init="true">SDL_AllocRW</alloc>
</resource>
<resource>
<dealloc>Mix_FreeMusic</dealloc>
<alloc init="true">Mix_LoadMUSType_RW</alloc>
</resource>
</def>
|