mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-10 13:11:12 +00:00
20 lines
321 B
C
20 lines
321 B
C
#include <stdarg.h>
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
|
|
typedef struct TraitObject {
|
|
void *data;
|
|
void *vtable;
|
|
} TraitObject;
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif // __cplusplus
|
|
|
|
void *root(const void *ptr, struct TraitObject t);
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif // __cplusplus
|