mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 11:28:15 +00:00
Fix some issues caught by check_stdlib_usage.py
This commit is contained in:
@@ -81,6 +81,7 @@ words = [
|
||||
'lroundf',
|
||||
'ltoa',
|
||||
'malloc',
|
||||
'memalign',
|
||||
'memcmp',
|
||||
'memcpy',
|
||||
'memcpy4',
|
||||
@@ -199,7 +200,7 @@ def find_symbols_in_file(file, regex):
|
||||
if regex.match(l):
|
||||
|
||||
# free() allowed here
|
||||
if "This should NOT be SDL_free" in l:
|
||||
if "This should NOT be SDL_" in l:
|
||||
continue
|
||||
|
||||
# double check
|
Reference in New Issue
Block a user