mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-10-12 08:15:06 +02:00
57 lines
659 B
C++
57 lines
659 B
C++
#if 0
|
|
''' '
|
|
#endif
|
|
#if defined(CBINDGEN_STYLE_TYPE)
|
|
/* ANONYMOUS STRUCTS DO NOT SUPPORT FORWARD DECLARATIONS!
|
|
#endif
|
|
#if 0
|
|
' '''
|
|
#endif
|
|
|
|
|
|
#include <cstdarg>
|
|
#include <cstdint>
|
|
#include <cstdlib>
|
|
#include <ostream>
|
|
#include <new>
|
|
|
|
struct StructInfo {
|
|
const TypeInfo *const *fields;
|
|
uintptr_t num_fields;
|
|
};
|
|
|
|
struct TypeData {
|
|
enum class Tag {
|
|
Primitive,
|
|
Struct,
|
|
};
|
|
|
|
struct Struct_Body {
|
|
StructInfo _0;
|
|
};
|
|
|
|
Tag tag;
|
|
union {
|
|
Struct_Body struct_;
|
|
};
|
|
};
|
|
|
|
struct TypeInfo {
|
|
TypeData data;
|
|
};
|
|
|
|
extern "C" {
|
|
|
|
void root(TypeInfo x);
|
|
|
|
} // extern "C"
|
|
|
|
#if 0
|
|
''' '
|
|
#endif
|
|
#if defined(CBINDGEN_STYLE_TYPE)
|
|
*/
|
|
#endif
|
|
#if 0
|
|
' '''
|
|
#endif
|