| 1 |
#if 0 |
| 2 |
''' ' |
| 3 |
#endif |
| 4 |
#if defined(CBINDGEN_STYLE_TYPE) |
| 5 |
/* ANONYMOUS STRUCTS DO NOT SUPPORT FORWARD DECLARATIONS! |
| 6 |
#endif |
| 7 |
#if 0 |
| 8 |
' ''' |
| 9 |
#endif |
| 10 |
|
| 11 |
|
| 12 |
#include <cstdarg> |
| 13 |
#include <cstdint> |
| 14 |
#include <cstdlib> |
| 15 |
#include <ostream> |
| 16 |
#include <new> |
| 17 |
|
| 18 |
struct StructInfo { |
| 19 |
const TypeInfo *const *fields; |
| 20 |
uintptr_t num_fields; |
| 21 |
}; |
| 22 |
|
| 23 |
struct TypeData { |
| 24 |
enum class Tag { |
| 25 |
Primitive, |
| 26 |
Struct, |
| 27 |
}; |
| 28 |
|
| 29 |
struct Struct_Body { |
| 30 |
StructInfo _0; |
| 31 |
}; |
| 32 |
|
| 33 |
Tag tag; |
| 34 |
union { |
| 35 |
Struct_Body struct_; |
| 36 |
}; |
| 37 |
}; |
| 38 |
|
| 39 |
struct TypeInfo { |
| 40 |
TypeData data; |
| 41 |
}; |
| 42 |
|
| 43 |
extern "C" { |
| 44 |
|
| 45 |
void root(TypeInfo x); |
| 46 |
|
| 47 |
} // extern "C" |
| 48 |
|
| 49 |
#if 0 |
| 50 |
''' ' |
| 51 |
#endif |
| 52 |
#if defined(CBINDGEN_STYLE_TYPE) |
| 53 |
*/ |
| 54 |
#endif |
| 55 |
#if 0 |
| 56 |
' ''' |
| 57 |
#endif |