Skip to content

Commit

Permalink
gengo: remove unused replace void* with uintptr_t
Browse files Browse the repository at this point in the history
just a few lines below is a case for void*
I think this if was a leftover.
  • Loading branch information
gucio321 committed Nov 5, 2024
1 parent b13a5c3 commit b36b761
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cmd/codegen/gengo_typedefs.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,6 @@ typedefsGeneration:

known := generator.parseArgDef(CIdentifier(typedef), ctx)

if typedef == "void*" {
typedef = "uintptr_t"
}

switch {
case typedefs.data[k] == "void*":
if ctx.flags.showGenerated {
Expand Down

0 comments on commit b36b761

Please sign in to comment.