cppcheck-py 2.9__py3-none-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. cppcheck/__init__.py +55 -0
  2. cppcheck/cppcheck-2.9.tar.gz +0 -0
  3. cppcheck/data/addons/__init__.py +0 -0
  4. cppcheck/data/addons/cppcheck.py +39 -0
  5. cppcheck/data/addons/cppcheckdata.py +1529 -0
  6. cppcheck/data/addons/findcasts.py +33 -0
  7. cppcheck/data/addons/misc.py +163 -0
  8. cppcheck/data/addons/misra.py +4728 -0
  9. cppcheck/data/addons/misra_9.py +513 -0
  10. cppcheck/data/addons/naming.py +91 -0
  11. cppcheck/data/addons/namingng.py +253 -0
  12. cppcheck/data/addons/runaddon.py +12 -0
  13. cppcheck/data/addons/threadsafety.py +39 -0
  14. cppcheck/data/addons/y2038.py +252 -0
  15. cppcheck/data/cfg/avr.cfg +431 -0
  16. cppcheck/data/cfg/bento4.cfg +142 -0
  17. cppcheck/data/cfg/boost.cfg +1268 -0
  18. cppcheck/data/cfg/bsd.cfg +546 -0
  19. cppcheck/data/cfg/cairo.cfg +88 -0
  20. cppcheck/data/cfg/cppcheck-lib.cfg +72 -0
  21. cppcheck/data/cfg/cppunit.cfg +48 -0
  22. cppcheck/data/cfg/daca.cfg +31 -0
  23. cppcheck/data/cfg/dpdk.cfg +11 -0
  24. cppcheck/data/cfg/embedded_sql.cfg +4 -0
  25. cppcheck/data/cfg/emscripten.cfg +7 -0
  26. cppcheck/data/cfg/ginac.cfg +12848 -0
  27. cppcheck/data/cfg/gnu.cfg +1626 -0
  28. cppcheck/data/cfg/googletest.cfg +60 -0
  29. cppcheck/data/cfg/gtk.cfg +20584 -0
  30. cppcheck/data/cfg/icu.cfg +6 -0
  31. cppcheck/data/cfg/kde.cfg +51 -0
  32. cppcheck/data/cfg/libcerror.cfg +128 -0
  33. cppcheck/data/cfg/libcurl.cfg +487 -0
  34. cppcheck/data/cfg/libsigc++.cfg +36 -0
  35. cppcheck/data/cfg/lua.cfg +316 -0
  36. cppcheck/data/cfg/mfc.cfg +256 -0
  37. cppcheck/data/cfg/microsoft_atl.cfg +40 -0
  38. cppcheck/data/cfg/microsoft_sal.cfg +491 -0
  39. cppcheck/data/cfg/microsoft_unittest.cfg +20 -0
  40. cppcheck/data/cfg/motif.cfg +318 -0
  41. cppcheck/data/cfg/nspr.cfg +38 -0
  42. cppcheck/data/cfg/ntl.cfg +6907 -0
  43. cppcheck/data/cfg/opencv2.cfg +132 -0
  44. cppcheck/data/cfg/opengl.cfg +580 -0
  45. cppcheck/data/cfg/openmp.cfg +157 -0
  46. cppcheck/data/cfg/openssl.cfg +174 -0
  47. cppcheck/data/cfg/pcre.cfg +165 -0
  48. cppcheck/data/cfg/posix.cfg +6252 -0
  49. cppcheck/data/cfg/python.cfg +674 -0
  50. cppcheck/data/cfg/qt.cfg +5255 -0
  51. cppcheck/data/cfg/ruby.cfg +142 -0
  52. cppcheck/data/cfg/sdl.cfg +354 -0
  53. cppcheck/data/cfg/sfml.cfg +301 -0
  54. cppcheck/data/cfg/sqlite3.cfg +1527 -0
  55. cppcheck/data/cfg/std.cfg +8716 -0
  56. cppcheck/data/cfg/tinyxml2.cfg +56 -0
  57. cppcheck/data/cfg/vcl.cfg +4 -0
  58. cppcheck/data/cfg/windows.cfg +17941 -0
  59. cppcheck/data/cfg/wxsqlite3.cfg +1955 -0
  60. cppcheck/data/cfg/wxsvg.cfg +16905 -0
  61. cppcheck/data/cfg/wxwidgets.cfg +16464 -0
  62. cppcheck/data/cfg/zlib.cfg +1450 -0
  63. cppcheck/data/cppcheck-htmlreport +986 -0
  64. cppcheck/data/cppcheck.exe +0 -0
  65. cppcheck/data/platforms/aix_ppc64.xml +17 -0
  66. cppcheck/data/platforms/arm32-wchar_t2.xml +17 -0
  67. cppcheck/data/platforms/arm32-wchar_t4.xml +17 -0
  68. cppcheck/data/platforms/arm64-wchar_t2.xml +17 -0
  69. cppcheck/data/platforms/arm64-wchar_t4.xml +17 -0
  70. cppcheck/data/platforms/avr8.xml +18 -0
  71. cppcheck/data/platforms/cray_sv1.xml +17 -0
  72. cppcheck/data/platforms/elbrus-e1cp.xml +18 -0
  73. cppcheck/data/platforms/mips32.xml +18 -0
  74. cppcheck/data/platforms/msp430_eabi_large_datamodel.xml +17 -0
  75. cppcheck/data/platforms/pic16.xml +18 -0
  76. cppcheck/data/platforms/pic8-enhanced.xml +18 -0
  77. cppcheck/data/platforms/pic8.xml +18 -0
  78. cppcheck/data/platforms/unix32-unsigned.xml +17 -0
  79. cppcheck/data/platforms/unix64-unsigned.xml +17 -0
  80. cppcheck_py-2.9.dist-info/METADATA +76 -0
  81. cppcheck_py-2.9.dist-info/RECORD +84 -0
  82. cppcheck_py-2.9.dist-info/WHEEL +5 -0
  83. cppcheck_py-2.9.dist-info/entry_points.txt +4 -0
  84. cppcheck_py-2.9.dist-info/licenses/LICENSE.md +191 -0
@@ -0,0 +1,142 @@
1
+ <?xml version="1.0"?>
2
+ <def format="2">
3
+ <!-- Ruby C API. see https://docs.ruby-lang.org/en/2.5.0/extension_rdoc.html -->
4
+ <!-- INT2NUM() is a macro resulting in something like this: VALUE INT2NUM(int v) -->
5
+ <!-- UINT2NUM() is something like this: VALUE UINT2NUM(unsigned int v) -->
6
+ <!-- LONG2NUM() is something like this: VALUE LONG2NUM(long v) -->
7
+ <!-- ULONG2NUM() is something like this: VALUE ULONG2NUM(unsigned long v) -->
8
+ <!-- LL2NUM() is something like this: VALUE LL2NUM(long long v) -->
9
+ <!-- ULL2NUM() is something like this: VALUE ULL2NUM(unsigned long long v) -->
10
+ <function name="INT2NUM,UINT2NUM,LONG2NUM,ULONG2NUM,LL2NUM,ULL2NUM">
11
+ <noreturn>false</noreturn>
12
+ <returnValue type="VALUE"/>
13
+ <use-retval/>
14
+ <arg nr="1" direction="in">
15
+ <not-uninit/>
16
+ </arg>
17
+ </function>
18
+ <!-- NUM2INT() is something like this: int NUM2INT(VALUE v) -->
19
+ <!-- FIX2INT() is something like this: int FIX2INT(VALUE v) -->
20
+ <function name="NUM2INT,FIX2INT">
21
+ <noreturn>false</noreturn>
22
+ <returnValue type="int"/>
23
+ <use-retval/>
24
+ <arg nr="1" direction="in">
25
+ <not-uninit/>
26
+ </arg>
27
+ </function>
28
+ <!-- NUM2UINT() is something like this: unsigned int NUM2UINT(VALUE v) -->
29
+ <!-- FIX2UINT() is something like this: unsigned int FIX2UINT(VALUE v) -->
30
+ <function name="NUM2UINT,FIX2UINT">
31
+ <noreturn>false</noreturn>
32
+ <returnValue type="unsigned int"/>
33
+ <use-retval/>
34
+ <arg nr="1" direction="in">
35
+ <not-uninit/>
36
+ </arg>
37
+ </function>
38
+ <!-- NUM2LONG() is something like this: long NUM2LONG(VALUE v) -->
39
+ <!-- FIX2LONG() is something like this: long FIX2LONG(VALUE v) -->
40
+ <function name="NUM2LONG,FIX2LONG">
41
+ <noreturn>false</noreturn>
42
+ <returnValue type="long"/>
43
+ <use-retval/>
44
+ <arg nr="1" direction="in">
45
+ <not-uninit/>
46
+ </arg>
47
+ </function>
48
+ <!-- NUM2ULONG() is something like this: unsigned long NUM2ULONG(VALUE v) -->
49
+ <!-- FIX2ULONG() is something like this: unsigned long FIX2ULONG(VALUE v) -->
50
+ <function name="NUM2ULONG,FIX2ULONG">
51
+ <noreturn>false</noreturn>
52
+ <returnValue type="unsigned long"/>
53
+ <use-retval/>
54
+ <arg nr="1" direction="in">
55
+ <not-uninit/>
56
+ </arg>
57
+ </function>
58
+ <!-- NUM2LL() is something like this: long long NUM2LL(VALUE v) -->
59
+ <function name="NUM2LL">
60
+ <noreturn>false</noreturn>
61
+ <returnValue type="long long"/>
62
+ <use-retval/>
63
+ <arg nr="1" direction="in">
64
+ <not-uninit/>
65
+ </arg>
66
+ </function>
67
+ <!-- NUM2ULL() is something like this: unsigned long long NUM2ULL(VALUE v) -->
68
+ <function name="NUM2ULL">
69
+ <noreturn>false</noreturn>
70
+ <returnValue type="unsigned long long"/>
71
+ <use-retval/>
72
+ <arg nr="1" direction="in">
73
+ <not-uninit/>
74
+ </arg>
75
+ </function>
76
+ <!-- void rb_define_const(VALUE klass, const char *name, VALUE val) -->
77
+ <function name="rb_define_const">
78
+ <leak-ignore/>
79
+ <noreturn>false</noreturn>
80
+ <returnValue type="void"/>
81
+ <arg nr="1">
82
+ <not-uninit/>
83
+ </arg>
84
+ <arg nr="2">
85
+ <not-null/>
86
+ <strz/>
87
+ </arg>
88
+ <arg nr="3">
89
+ <not-uninit/>
90
+ </arg>
91
+ </function>
92
+ <!-- void rb_define_method(VALUE klass, const char *name, VALUE (*func)(ANYARGS), int argc) -->
93
+ <function name="rb_define_method">
94
+ <leak-ignore/>
95
+ <noreturn>false</noreturn>
96
+ <returnValue type="void"/>
97
+ <arg nr="1">
98
+ <not-uninit/>
99
+ </arg>
100
+ <arg nr="2">
101
+ <not-null/>
102
+ <strz/>
103
+ </arg>
104
+ <arg nr="4">
105
+ <not-bool/>
106
+ <not-uninit/>
107
+ </arg>
108
+ </function>
109
+ <function name="rb_intern">
110
+ <leak-ignore/>
111
+ <noreturn>false</noreturn>
112
+ <returnValue type="ID"/>
113
+ <arg nr="1">
114
+ <not-uninit/>
115
+ </arg>
116
+ </function>
117
+ <function name="rb_str_new2">
118
+ <leak-ignore/>
119
+ <noreturn>false</noreturn>
120
+ <arg nr="1">
121
+ <not-uninit/>
122
+ </arg>
123
+ </function>
124
+ <!-- void rb_raise(rb_eRuntimeError, const char *fmt, …) -->
125
+ <function name="rb_raise">
126
+ <leak-ignore/>
127
+ <noreturn>true</noreturn>
128
+ <returnValue type="void"/>
129
+ <arg nr="1">
130
+ <not-uninit/>
131
+ </arg>
132
+ <arg nr="2">
133
+ <formatstr/>
134
+ <not-null/>
135
+ </arg>
136
+ <arg nr="any">
137
+ <not-uninit/>
138
+ </arg>
139
+ </function>
140
+ <podtype name="ID"/>
141
+ <podtype name="VALUE" sign="u"/>
142
+ </def>
@@ -0,0 +1,354 @@
1
+ <?xml version="1.0"?>
2
+ <def format="2">
3
+ <!-- SDL (Simple DirectMedia Layer) Library Configuration https://libsdl.org/ -->
4
+ <!-- ########## SDL Types ########## -->
5
+ <podtype name="Sint8" sign="s" size="1"/>
6
+ <podtype name="Uint8" sign="u" size="1"/>
7
+ <podtype name="Sint16" sign="s" size="2"/>
8
+ <podtype name="Uint16" sign="u" size="2"/>
9
+ <podtype name="Sint32" sign="s" size="4"/>
10
+ <podtype name="Uint32" sign="u" size="4"/>
11
+ <podtype name="Sint64" sign="s" size="8"/>
12
+ <podtype name="Uint64" sign="u" size="8"/>
13
+ <!-- ########## SDL defines / macros ########## -->
14
+ <!-- From https://hg.libsdl.org/SDL/file/default/include/SDL_stdinc.h -->
15
+ <define name="SDL_arraysize(array)" value="(sizeof(array)/sizeof(array[0]))"/>
16
+ <define name="SDL_TABLESIZE(table)" value="SDL_arraysize(table)"/>
17
+ <define name="SDL_min(x, y)" value="(((x) &lt; (y)) ? (x) : (y))"/>
18
+ <define name="SDL_max(x, y)" value="(((x) &gt; (y)) ? (x) : (y))"/>
19
+ <define name="SDL_zero(x)" value="SDL_memset(&amp;(x), 0, sizeof((x)))"/>
20
+ <define name="SDL_zerop(x)" value="SDL_memset((x), 0, sizeof(*(x)))"/>
21
+ <define name="SDL_zeroa(x)" value="SDL_memset((x), 0, sizeof((x)))"/>
22
+ <define name="SDL_malloc" value="malloc"/>
23
+ <define name="SDL_calloc" value="calloc"/>
24
+ <define name="SDL_realloc" value="realloc"/>
25
+ <define name="SDL_free" value="free"/>
26
+ <define name="SDL_memset" value="memset"/>
27
+ <define name="SDL_memcpy" value="memcpy"/>
28
+ <define name="SDL_memmove" value="memmove"/>
29
+ <define name="SDL_memcmp" value="memcmp"/>
30
+ <define name="SDL_strlen" value="strlen"/>
31
+ <define name="SDL_strlcpy" value="strlcpy"/>
32
+ <define name="SDL_strlcat" value="strlcat"/>
33
+ <define name="SDL_strdup" value="strdup"/>
34
+ <define name="SDL_strchr" value="strchr"/>
35
+ <define name="SDL_strrchr" value="strrchr"/>
36
+ <define name="SDL_strstr" value="strstr"/>
37
+ <define name="SDL_strcmp" value="strcmp"/>
38
+ <define name="SDL_strncmp" value="strncmp"/>
39
+ <define name="SDL_strcasecmp" value="strcasecmp"/>
40
+ <define name="SDL_strncasecmp" value="strncasecmp"/>
41
+ <define name="SDL_sscanf" value="sscanf"/>
42
+ <define name="SDL_vsscanf" value="vsscanf"/>
43
+ <define name="SDL_snprintf" value="snprintf"/>
44
+ <define name="SDL_vsnprintf" value="vsnprintf"/>
45
+ <!-- ########## SDL Functions ########## -->
46
+ <!-- int SDL_BlitSurface(SDL_Surface* src,
47
+ const SDL_Rect* srcrect,
48
+ SDL_Surface* dst,
49
+ SDL_Rect* dstrect) -->
50
+ <function name="SDL_BlitSurface">
51
+ <noreturn>false</noreturn>
52
+ <returnValue type="int"/>
53
+ <arg nr="1" direction="in">
54
+ <not-uninit/>
55
+ </arg>
56
+ <arg nr="2" direction="in">
57
+ <not-uninit/>
58
+ </arg>
59
+ <arg nr="3" direction="out"/>
60
+ <arg nr="4" direction="inout">
61
+ <not-uninit/>
62
+ </arg>
63
+ </function>
64
+ <!-- SDL_Surface* SDL_CreateRGBSurface(Uint32 flags,
65
+ int width,
66
+ int height,
67
+ int depth,
68
+ Uint32 Rmask,
69
+ Uint32 Gmask,
70
+ Uint32 Bmask,
71
+ Uint32 Amask) -->
72
+ <function name="SDL_CreateRGBSurface">
73
+ <noreturn>false</noreturn>
74
+ <returnValue type="SDL_Surface*"/>
75
+ <use-retval/>
76
+ <arg nr="1" direction="in">
77
+ <not-uninit/>
78
+ </arg>
79
+ <arg nr="2" direction="in">
80
+ <not-uninit/>
81
+ </arg>
82
+ <arg nr="3" direction="in">
83
+ <not-uninit/>
84
+ </arg>
85
+ <arg nr="4" direction="in">
86
+ <not-uninit/>
87
+ </arg>
88
+ <arg nr="5" direction="in">
89
+ <not-uninit/>
90
+ </arg>
91
+ <arg nr="6" direction="in">
92
+ <not-uninit/>
93
+ </arg>
94
+ <arg nr="7" direction="in">
95
+ <not-uninit/>
96
+ </arg>
97
+ <arg nr="8" direction="in">
98
+ <not-uninit/>
99
+ <not-bool/>
100
+ </arg>
101
+ </function>
102
+ <!-- void SDL_Delay(Uint32 ms) -->
103
+ <function name="SDL_Delay">
104
+ <noreturn>false</noreturn>
105
+ <returnValue type="void"/>
106
+ <leak-ignore/>
107
+ <arg nr="1" direction="in">
108
+ <not-uninit/>
109
+ </arg>
110
+ </function>
111
+ <!-- int SDL_FillRect(SDL_Surface* dst,
112
+ const SDL_Rect* rect,
113
+ Uint32 color) -->
114
+ <function name="SDL_FillRect">
115
+ <noreturn>false</noreturn>
116
+ <returnValue type="int"/>
117
+ <leak-ignore/>
118
+ <arg nr="1" direction="out">
119
+ <not-null/>
120
+ <not-uninit/>
121
+ </arg>
122
+ <arg nr="2" direction="in">
123
+ <not-uninit/>
124
+ </arg>
125
+ <arg nr="3" direction="in">
126
+ <not-uninit/>
127
+ <not-bool/>
128
+ </arg>
129
+ </function>
130
+ <!-- void SDL_FreeSurface(SDL_Surface *surface); -->
131
+ <function name="SDL_FreeSurface">
132
+ <noreturn>false</noreturn>
133
+ <returnValue type="void"/>
134
+ <arg nr="1">
135
+ <not-uninit/>
136
+ <not-bool/>
137
+ </arg>
138
+ </function>
139
+ <!-- int SDL_Init(Uint32 flags) -->
140
+ <!-- int SDL_InitSubSystem(Uint32 flags) -->
141
+ <function name="SDL_Init,SDL_InitSubSystem">
142
+ <noreturn>false</noreturn>
143
+ <returnValue type="int"/>
144
+ <leak-ignore/>
145
+ <arg nr="1" direction="in">
146
+ <not-uninit/>
147
+ </arg>
148
+ </function>
149
+ <!-- void SDL_Log(const char* fmt, ...) -->
150
+ <function name="SDL_Log">
151
+ <noreturn>false</noreturn>
152
+ <returnValue type="void"/>
153
+ <leak-ignore/>
154
+ <formatstr/>
155
+ <arg nr="1" direction="in">
156
+ <not-uninit/>
157
+ <formatstr/>
158
+ </arg>
159
+ </function>
160
+ <!-- void SDL_LogMessage(int category,
161
+ SDL_LogPriority priority,
162
+ const char* fmt,
163
+ ...) -->
164
+ <function name="SDL_LogMessage">
165
+ <noreturn>false</noreturn>
166
+ <returnValue type="void"/>
167
+ <leak-ignore/>
168
+ <arg nr="1" direction="in">
169
+ <not-uninit/>
170
+ </arg>
171
+ <arg nr="2" direction="in">
172
+ <not-uninit/>
173
+ </arg>
174
+ <formatstr/>
175
+ <arg nr="3" direction="in">
176
+ <not-uninit/>
177
+ <formatstr/>
178
+ </arg>
179
+ </function>
180
+ <!-- int SDL_LockSurface(SDL_Surface* surface) -->
181
+ <function name="SDL_LockSurface">
182
+ <noreturn>false</noreturn>
183
+ <returnValue type="int"/>
184
+ <leak-ignore/>
185
+ <arg nr="1">
186
+ <not-uninit/>
187
+ <not-bool/>
188
+ </arg>
189
+ </function>
190
+ <!-- Uint32 SDL_MapRGB(const SDL_PixelFormat* format,
191
+ Uint8 r,
192
+ Uint8 g,
193
+ Uint8 b) -->
194
+ <function name="SDL_MapRGB">
195
+ <noreturn>false</noreturn>
196
+ <returnValue type="Uint32"/>
197
+ <use-retval/>
198
+ <leak-ignore/>
199
+ <arg nr="1" direction="in">
200
+ <not-uninit/>
201
+ </arg>
202
+ <arg nr="2" direction="in">
203
+ <not-uninit/>
204
+ </arg>
205
+ <arg nr="3" direction="in">
206
+ <not-uninit/>
207
+ </arg>
208
+ <arg nr="4" direction="in">
209
+ <not-uninit/>
210
+ <not-bool/>
211
+ </arg>
212
+ </function>
213
+ <!-- SDL_bool SDL_MUSTLOCK(SDL_Surface* surface) -->
214
+ <function name="SDL_MUSTLOCK">
215
+ <noreturn>false</noreturn>
216
+ <returnValue type="SDL_bool"/>
217
+ <use-retval/>
218
+ <leak-ignore/>
219
+ <arg nr="1" direction="in">
220
+ <not-uninit/>
221
+ <not-bool/>
222
+ </arg>
223
+ </function>
224
+ <function name="SDL_mutexP">
225
+ <noreturn>false</noreturn>
226
+ <arg nr="1">
227
+ <not-bool/>
228
+ <not-null/>
229
+ </arg>
230
+ </function>
231
+ <function name="SDL_mutexV">
232
+ <noreturn>false</noreturn>
233
+ <arg nr="1">
234
+ <not-bool/>
235
+ <not-null/>
236
+ </arg>
237
+ </function>
238
+ <!-- void SDL_Quit(void) -->
239
+ <function name="SDL_Quit">
240
+ <noreturn>false</noreturn>
241
+ <returnValue type="void"/>
242
+ </function>
243
+ <!-- void SDL_QuitSubSystem(Uint32 flags) -->
244
+ <function name="SDL_QuitSubSystem">
245
+ <noreturn>false</noreturn>
246
+ <returnValue type="void"/>
247
+ <arg nr="1" direction="in">
248
+ <not-uninit/>
249
+ <not-bool/>
250
+ </arg>
251
+ </function>
252
+ <!-- Sint64 SDL_RWsize(SDL_RWops* context) -->
253
+ <function name="SDL_RWsize">
254
+ <noreturn>false</noreturn>
255
+ <returnValue type="Sint64"/>
256
+ <use-retval/>
257
+ <leak-ignore/>
258
+ <arg nr="1">
259
+ <not-bool/>
260
+ <not-null/>
261
+ </arg>
262
+ </function>
263
+ <!-- size_t SDL_RWread(struct SDL_RWops* context,
264
+ void* ptr,
265
+ size_t size,
266
+ size_t maxnum) -->
267
+ <function name="SDL_RWread">
268
+ <noreturn>false</noreturn>
269
+ <returnValue type="size_t"/>
270
+ <leak-ignore/>
271
+ <arg nr="1">
272
+ <not-bool/>
273
+ <not-null/>
274
+ <not-uninit/>
275
+ </arg>
276
+ <arg nr="2" direction="out">
277
+ <not-bool/>
278
+ <not-null/>
279
+ </arg>
280
+ <arg nr="3" direction="in">
281
+ <not-uninit/>
282
+ </arg>
283
+ <arg nr="4" direction="in">
284
+ <not-uninit/>
285
+ <not-bool/>
286
+ </arg>
287
+ </function>
288
+ <!-- int SDL_SetError(const char* fmt, ...) -->
289
+ <function name="SDL_SetError">
290
+ <noreturn>false</noreturn>
291
+ <returnValue type="int">-1</returnValue>
292
+ <formatstr/>
293
+ <arg nr="1" direction="in">
294
+ <not-null/>
295
+ <not-uninit/>
296
+ <formatstr/>
297
+ </arg>
298
+ </function>
299
+ <!-- void SDL_UnlockSurface(SDL_Surface* surface) -->
300
+ <function name="SDL_UnlockSurface">
301
+ <noreturn>false</noreturn>
302
+ <returnValue type="void"/>
303
+ <leak-ignore/>
304
+ <arg nr="1">
305
+ <not-uninit/>
306
+ <not-bool/>
307
+ </arg>
308
+ </function>
309
+ <function name="IMG_isPNG">
310
+ <noreturn>false</noreturn>
311
+ <arg nr="1">
312
+ <not-bool/>
313
+ <not-null/>
314
+ </arg>
315
+ </function>
316
+ <function name="IMG_isJPG">
317
+ <noreturn>false</noreturn>
318
+ <arg nr="1">
319
+ <not-bool/>
320
+ <not-null/>
321
+ </arg>
322
+ </function>
323
+ <!-- ########## SDL Memory/Resource Allocation/Deallocation ########## -->
324
+ <resource>
325
+ <dealloc>SDL_FreeSurface</dealloc>
326
+ <alloc init="true">SDL_CreateRGBSurface</alloc>
327
+ <alloc init="true">SDL_CreateRGBSurfaceFrom</alloc>
328
+ <alloc init="true">SDL_ConvertSurface</alloc>
329
+ <alloc init="true">TTF_RenderUTF8_Blended</alloc>
330
+ <alloc init="true">IMG_LoadPNG_RW</alloc>
331
+ <alloc init="true">IMG_LoadJPG_RW</alloc>
332
+ <alloc init="true">IMG_Load</alloc>
333
+ </resource>
334
+ <resource>
335
+ <dealloc>SDL_DestroyMutex</dealloc>
336
+ <alloc init="true">SDL_CreateMutex</alloc>
337
+ </resource>
338
+ <resource>
339
+ <dealloc>SDL_WaitThread</dealloc>
340
+ <alloc init="true">SDL_CreateThread</alloc>
341
+ </resource>
342
+ <resource>
343
+ <dealloc>SDL_RWclose</dealloc>
344
+ <alloc init="true">SDL_RWFromFile</alloc>
345
+ </resource>
346
+ <resource>
347
+ <dealloc>SDL_FreeRW</dealloc>
348
+ <alloc init="true">SDL_AllocRW</alloc>
349
+ </resource>
350
+ <resource>
351
+ <dealloc>Mix_FreeMusic</dealloc>
352
+ <alloc init="true">Mix_LoadMUSType_RW</alloc>
353
+ </resource>
354
+ </def>