mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-10 21:21:09 +00:00
33 lines
469 B
C
33 lines
469 B
C
#include <stdarg.h>
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
|
|
#ifdef __cplusplus
|
|
namespace constants {
|
|
namespace test {
|
|
#endif // __cplusplus
|
|
|
|
#define FOO 10
|
|
|
|
#define ZOM 3.14
|
|
|
|
typedef struct Foo {
|
|
int32_t x[FOO];
|
|
} Foo;
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif // __cplusplus
|
|
|
|
void root(struct Foo x);
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif // __cplusplus
|
|
|
|
#ifdef __cplusplus
|
|
} // namespace test
|
|
} // namespace constants
|
|
#endif // __cplusplus
|