cbindgen/tests/expectations/both/constant.compat.c

39 lines
464 B
C
Raw Normal View History

#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#define DELIMITER ':'
#define FOO 10
#define HEART L'\u2764'
#define LEFTCURLY '{'
#define NEG_ONE -1
#define NEWLINE '\n'
#define POS_ONE 1
#define QUOTE '\''
#define TAB '\t'
#define ZOM 3.14
typedef struct Foo {
int32_t x[FOO];
} Foo;
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
void root(Foo x);
#ifdef __cplusplus
} // extern "C"
#endif // __cplusplus