constant.c 1.3 KB
Newer Older
Sebastian Dröge's avatar
Sebastian Dröge committed
1 2
// This file was generated by gir (https://github.com/gtk-rs/gir @ d1e88f9)
// from gir-files (https://github.com/gtk-rs/gir-files @ 63dd366)
3 4 5 6 7 8 9
// DO NOT EDIT

#include "manual.h"
#include <stdio.h>

int main() {
    printf(_Generic((ABI_CONSTANT_NAME),
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
                    char *: "###gir test###%s###gir test###\n",
                    const char *: "###gir test###%s###gir test###\n",
                    char: "###gir test###%c###gir test###\n",
                    signed char: "###gir test###%hhd###gir test###\n",
                    unsigned char: "###gir test###%hhu###gir test###\n",
                    short int: "###gir test###%hd###gir test###\n",
                    unsigned short int: "###gir test###%hu###gir test###\n",
                    int: "###gir test###%d###gir test###\n",
                    unsigned int: "###gir test###%u###gir test###\n",
                    long: "###gir test###%ld###gir test###\n",
                    unsigned long: "###gir test###%lu###gir test###\n",
                    long long: "###gir test###%lld###gir test###\n",
                    unsigned long long: "###gir test###%llu###gir test###\n",
                    double: "###gir test###%f###gir test###\n",
                    long double: "###gir test###%ld###gir test###\n"),
25 26 27
           ABI_CONSTANT_NAME);
    return 0;
}