Skip to content

Commit 072b127

Browse files
author
whisper-bye
authored
fix cgo warning
1 parent dc62f0d commit 072b127

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

go/callbacks.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ package main
1010

1111
/*
1212
struct GraphQLAstField;
13+
14+
extern int printField(struct GraphQLAstField *field, void *unused);
15+
1316
int printField_cgo(struct GraphQLAstField *field, void *unused) {
1417
return printField(field, unused);
1518
}

0 commit comments

Comments
 (0)