gstreamer-rs/gstreamer-player-sys/tests/constant.c
Sebastian Dröge c1ae289fe8 Add ABI tests and generate with latest GIR
This is also getting us rid of bitflags.

The ABI tests are not all succeeding yet.
2018-04-04 10:29:27 +03:00

27 lines
878 B
C

// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214)
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
// DO NOT EDIT
#include "manual.h"
#include <stdio.h>
int main() {
printf(_Generic((ABI_CONSTANT_NAME),
char *: "%s",
const char *: "%s",
char: "%c",
signed char: "%hhd",
unsigned char: "%hhu",
short int: "%hd",
unsigned short int: "%hu",
int: "%d",
unsigned int: "%u",
long: "%ld",
unsigned long: "%lu",
long long: "%lld",
unsigned long long: "%llu",
double: "%f",
long double: "%ld"),
ABI_CONSTANT_NAME);
return 0;
}