From fb683a2b1b962da4f00eb86c57b9c75fbcdf9908 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 30 Oct 2024 14:02:34 -0400 Subject: Organize typedef headers so the typedefs come before the namespace members --- structs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'structs.c') diff --git a/structs.c b/structs.c index 489d27a5..5915f111 100644 --- a/structs.c +++ b/structs.c @@ -74,8 +74,7 @@ CORD compile_struct_header(env_t *env, ast_t *ast) "};\n" "};\n" "} ", namespace_prefix(env, env->namespace), "$Optional", def->name, "_t;\n" - "extern const TypeInfo_t ", full_name, ";\n", - compile_namespace_header(env, def->name, def->namespace)); + "extern const TypeInfo_t ", full_name, ";\n"); } // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 -- cgit v1.2.3