We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df8bd03 commit 98de387Copy full SHA for 98de387
src/video_display/sdl2.c
@@ -152,6 +152,8 @@ static const struct {
152
{'q', "quit"},
153
};
154
155
+/// @param cmd command be excecuted checking the return falue
156
+/// @param ... optional action
157
#define SDL_CHECK(cmd, ...) \
158
do { \
159
int ret = cmd; \
src/video_display/sdl3.c
@@ -205,6 +205,8 @@ static const struct {
205
{ 'q', "quit" },
206
207
208
209
210
211
212
if (!(cmd)) { \
0 commit comments