mirror of
https://github.com/Ed94/metadesk.git
synced 2026-07-23 07:57:51 +00:00
unify c generator naming
This commit is contained in:
@@ -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