cgo: full test
cgo: test returning void
This commit is contained in:
6
cl/_testgo/cgofull/foo.c
Normal file
6
cl/_testgo/cgofull/foo.c
Normal file
@@ -0,0 +1,6 @@
|
||||
#include <stdio.h>
|
||||
#include "foo.h"
|
||||
|
||||
void print_foo(Foo* f) {
|
||||
printf("print_foo: %d\n", f->a);
|
||||
}
|
||||
Reference in New Issue
Block a user