github.com/notti/go-dynamic@v0.0.0-20190619201224-fc443047424c/example/testlib/test.c (about) 1 #include <stdio.h> 2 3 int value; 4 5 int test_call(unsigned short i1, int i2, float f1, double f2, int i3, int i4, int i5, int i6, int i7, int i8, char i9) { 6 printf("In C: %d %d %f %f\n", i1, i2, f1, f2); 7 return i1+i2+f1+f2+i3+i4+i5+i6+i7+i8+i9; 8 } 9 10 void print_value() { 11 printf("value: %d\n", value); 12 }