quicktype-core 23.0.7 → 23.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1654,7 +1654,7 @@ class CPlusPlusRenderer extends ConvenienceRenderer_1.ConvenienceRenderer {
|
|
|
1654
1654
|
optionalMacroName += "_";
|
|
1655
1655
|
});
|
|
1656
1656
|
untypedMacroName += "HELPER";
|
|
1657
|
-
|
|
1657
|
+
optionalMacroName += "HELPER";
|
|
1658
1658
|
this.emitLine("#ifndef " + untypedMacroName);
|
|
1659
1659
|
this.emitLine("#define " + untypedMacroName);
|
|
1660
1660
|
this.emitBlock(["inline json get_untyped(", this.withConst("json"), " & j, ", this.withConst("char"), " * property)"], false, () => {
|