This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangyang-zerotierone/zeroidc/vendor/cbindgen/tests/expectations/forward_declaration.cpp

58 lines
659 B
C++
Raw Normal View History

#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