mirror of
https://github.com/Ed94/metadesk.git
synced 2026-10-14 12:59:42 -07:00
unify c generator naming
This commit is contained in:
1 parent
87bd1cd6de
commit
366eebca00
5 files changed
+34
-48
No files matched your search
@@ -29,7 +29,7 @@ int main(int argument_count, char **arguments)
|
||||
{
|
||||
if(MD_NodeHasTag(node, MD_S8Lit("struct")))
|
||||
{
|
||||
MD_OutputTree_C_Struct(stdout, node);
|
||||
MD_C_Generate_Struct(stdout, node);
|
||||
}
|
||||
}
|
||||
printf("\n\n");
|
||||
|
||||
@@ -137,7 +137,7 @@ static void OutputPrefixedType(FILE *f, MD_Map *user_defined_types, MD_String8 p
|
||||
I();
|
||||
OutputType_C_LHS_Namespace(f, user_defined_types, prefix, type);
|
||||
fprintf(f, " %.*s", MD_StringExpand(node->string));
|
||||
MD_OutputType_C_RHS(f, type);
|
||||
MD_C_Generate_RHS(f, type);
|
||||
|
||||
fprintf(f, ";\n");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user