mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
Add missing forward declaration for the Go function.
parent
c4df3ecd24
commit
69b7bf5dec
1
cgo.md
1
cgo.md
@ -209,6 +209,7 @@ package main
|
|||||||
int callOnMeGo_cgo(int in)
|
int callOnMeGo_cgo(int in)
|
||||||
{
|
{
|
||||||
printf("C.callOnMeGo_cgo(): called with arg = %d\n", in);
|
printf("C.callOnMeGo_cgo(): called with arg = %d\n", in);
|
||||||
|
int callOnMeGo(int);
|
||||||
return callOnMeGo(in);
|
return callOnMeGo(in);
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user