/* The C version of the register_builtin_type langhook. */ void c_register_builtin_type (tree type, const char* name) { tree decl; decl = build_decl (UNKNOWN_LOCATION, TYPE_DECL, get_identifier (name), type); DECL_ARTIFICIAL (decl) = 1;
if (!TYPE_NAME (type)) TYPE_NAME (type) = decl; lang_hooks.decls.pushdecl (decl); registered_builtin_types = tree_cons (0, type, registered_builtin_types); }