struct format;
struct type;
+/* Type declaration scope */
+struct declaration_scope {
+ /* Hash table mapping type name GQuark to struct type_class */
+ GHashTable *type_classes;
+ struct declaration_scope *parent_scope;
+};
+
struct type_class {
GQuark name; /* type name */
size_t alignment; /* type alignment, in bits */
struct field current_element; /* struct field */
};
-/* Type declaration scope */
-struct declaration_scope {
- /* Hash table mapping type name GQuark to struct type_class */
- GHashTable *type_classes;
- struct declaration_scope *parent_scope;
-};
-
struct type_class *lookup_type_class(GQuark qname,
struct declaration_scope *scope);
int register_type_class(struct type_class *type_class,