mirror of
https://github.com/yawut/SDL.git
synced 2026-08-20 07:44:03 -05:00
NULL-terminate the lists of autogenerated converters.
This commit is contained in:
@@ -338,6 +338,7 @@ sub buildTypeConverters {
|
||||
}
|
||||
print "#endif /* !NO_CONVERTERS */\n";
|
||||
|
||||
print(" { 0, 0, NULL }\n");
|
||||
print "};\n\n\n";
|
||||
}
|
||||
|
||||
@@ -735,6 +736,7 @@ sub buildResamplers {
|
||||
|
||||
print "#endif /* !LESS_RESAMPLERS */\n";
|
||||
print "#endif /* !NO_RESAMPLERS */\n";
|
||||
print(" { 0, 0, 0, 0, NULL }\n");
|
||||
print "};\n\n";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user