Debian Codegraph @

tests/constant.c

raw symbols SCIP
1 // This file was generated by gir (https://github.com/gtk-rs/gir)
2 // from gir-files (https://github.com/gtk-rs/gir-files)
3 // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
4 // DO NOT EDIT
5
6 #include "manual.h"
7 #include <stdio.h>
8
9 #define PRINT_CONSTANT(CONSTANT_NAME) \
10 printf("%s;", #CONSTANT_NAME); \
11 printf(_Generic((CONSTANT_NAME), \
12 char *: "%s", \
13 const char *: "%s", \
14 char: "%c", \
15 signed char: "%hhd", \
16 unsigned char: "%hhu", \
17 short int: "%hd", \
18 unsigned short int: "%hu", \
19 int: "%d", \
20 unsigned int: "%u", \
21 long: "%ld", \
22 unsigned long: "%lu", \
23 long long: "%lld", \
24 unsigned long long: "%llu", \
25 float: "%.6f", \
26 double: "%.6f", \
27 long double: "%ld"), \
28 CONSTANT_NAME); \
29 printf("\n");
30
31 int main() {
32 PRINT_CONSTANT(GST_GL_DISPLAY_EGL_NAME);
33 return 0;
34 }