Skip to content

Commit

Permalink
Merge pull request #61 from whisper-bye/master
Browse files Browse the repository at this point in the history
Fix cgo warning
  • Loading branch information
swolchok authored Feb 22, 2018
2 parents dc62f0d + a9f69c0 commit acd9847
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions go/callbacks.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ package main

/*
struct GraphQLAstField;
int printField(struct GraphQLAstField *field, void *unused);
int printField_cgo(struct GraphQLAstField *field, void *unused) {
return printField(field, unused);
}
Expand Down

0 comments on commit acd9847

Please sign in to comment.