Debian Codegraph @

debian/tests/cmake-findsdl2/hello.c

raw symbols SCIP
1 /*
2 * Copyright 2019 Collabora Ltd.
3 * SPDX-License-Identifier: Zlib
4 */
5
6 #include <SDL.h>
7
8 int
9 main (int argc, char **argv)
10 {
11 if (SDL_Init(0) != 0) {
12 SDL_Log("SDL_Init: %s", SDL_GetError());
13 return 1;
14 }
15
16 SDL_Log("Hello, world!");
17 SDL_Quit();
18 return 0;
19 }