Use new parameter validation macro

This commit is contained in:
Sam Lantinga
2025-09-16 21:51:03 -07:00
parent ee1c90a358
commit 25b2d2c821
60 changed files with 1113 additions and 1133 deletions

View File

@@ -29,7 +29,7 @@
SDL_SharedObject *SDL_LoadObject(const char *sofile)
{
if (!sofile) {
CHECK_PARAM(!sofile) {
SDL_InvalidParamError("sofile");
return NULL;
}