Skip to content

Commit

Permalink
fixes #24434; C gen issue using nim-lang/opengl
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout committed Nov 15, 2024
1 parent 726195d commit 166d09d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/cbuilderdecls.nim
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ proc addVisibilityPrefix(builder: var Builder, visibility: DeclVisibility) =
of Extern:
builder.add("extern ")
of ExternC:
builder.add("extern \"C\" ")
builder.add("NIM_EXTERNC ")
of ImportLib:
builder.add("N_LIB_IMPORT ")
of ExportLib:
Expand Down

0 comments on commit 166d09d

Please sign in to comment.