We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CCodeGenerator.GenerateClassBody
1 parent 26a5525 commit 657f894Copy full SHA for 657f894
src/Generator/Generators/C/CCodeGenerator.cs
@@ -234,7 +234,7 @@ public override bool VisitClassDecl(Class @class)
234
NewLine();
235
WriteOpenBraceAndIndent();
236
237
- VisitDeclContext(@class);
+ GenerateClassBody(@class);
238
239
Unindent();
240
WriteLine("};");
@@ -244,6 +244,11 @@ public override bool VisitClassDecl(Class @class)
244
return true;
245
}
246
247
+ public virtual bool GenerateClassBody(Class @class)
248
+ {
249
+ return VisitDeclContext(@class);
250
+ }
251
+
252
public override bool VisitTypedefNameDecl(TypedefNameDecl typedef)
253
{
254
0 commit comments