Skip unnamed bitfield in descend_into_subtype() and advance_current_object().
[cparser] / types.h
diff --git a/types.h b/types.h
index f6ff56b..282a067 100644 (file)
--- a/types.h
+++ b/types.h
@@ -53,6 +53,7 @@ extern type_t *type_unsigned_long_ptr;
 extern type_t *type_short_ptr;
 extern type_t *type_signed_char_ptr;
 extern type_t *type_void_ptr;
+extern type_t *type_const_void;
 extern type_t *type_const_void_ptr;
 extern type_t *type_void_ptr_restrict;
 extern type_t *type_const_void_ptr_restrict;
@@ -103,6 +104,6 @@ extern type_t *type_unsigned_int64;
 extern type_t *type_unsigned_int128;
 
 void init_basic_types(void);
-void init_builtin_types(void);
+void init_wchar_types(type_t *base);
 
 #endif