Skip to content

Commit

Permalink
Fix enum typedefs
Browse files Browse the repository at this point in the history
  • Loading branch information
7Hazard committed Aug 8, 2020
1 parent 4f2124a commit 7618325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/enum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ void HandleEnum(const EnumDecl* enumdecl)
// Write to header
capiheader("typedef enum " << enumname << " {\n"
<< enumcontent.str()
<< "};\n" << std::endl);
<< "} " << enumname << ";\n" << std::endl);


// json
Expand Down

0 comments on commit 7618325

Please sign in to comment.