Skip to content

Commit

Permalink
Minor fix in a variable name.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcant0n committed Oct 14, 2024
1 parent 3cbc542 commit 80681a6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Generator/ImguiGen/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ static void Main(string[] args)
string @namespace = "Imgui";
string libraryName = "cimgui";

var implotVersion = Specification.FromFiles(structs_and_enums_json, definitions_json);
var imguiVersion = Specification.FromFiles(structs_and_enums_json, definitions_json);

if (implotVersion != null)
if (imguiVersion != null)
{
// Enums
CSCodeWriter.WriteEnums(outputPath, @namespace, implotVersion);
CSCodeWriter.WriteEnums(outputPath, @namespace, imguiVersion);

// Structs
CSCodeWriter.WriteStructs(outputPath, @namespace, implotVersion);
CSCodeWriter.WriteStructs(outputPath, @namespace, imguiVersion);

// Functions
CSCodeWriter.WriteFuntions(outputPath, @namespace, libraryName, implotVersion);
CSCodeWriter.WriteFuntions(outputPath, @namespace, libraryName, imguiVersion);

// Delegates
CSCodeWriter.WriteInlineDelegates(outputPath, @namespace);
Expand Down

0 comments on commit 80681a6

Please sign in to comment.