void _cgo_5b040d13e328_Cfunc_getint(void *v) { struct { int r; } __attribute__((__packed__, __gcc_struct__)) *a = v; char *stktop = _cgo_topofstack(); __typeof__(a->r) r = getint(); a = (void*)((char*)a + (_cgo_topofstack() - stktop)); a->r = r; }
static char *_swig_topofstack() { if (_cgo_topofstack) { return _cgo_topofstack(); } else { return 0; } }
CGO_NO_SANITIZE_THREAD void _cgo_506f45f9fa85_Cfunc_sum(void *v) { struct { int p0; int p1; int r; char __pad12[4]; } __attribute__((__packed__)) *a = v; char *stktop = _cgo_topofstack(); __typeof__(a->r) r; _cgo_tsan_acquire(); r = sum(a->p0, a->p1); _cgo_tsan_release(); a = (void*)((char*)a + (_cgo_topofstack() - stktop)); a->r = r; }