; I want a function to be able to return a struct-by-val like this: (foreign-lambda (struct "line") "foo" ) ; My wrapper does this: ; Allocate struct on stack and continue with continuation, returning address (foreign-lambda* (c-pointer (struct "line")) () "struct line _tmp=foo();C_return(&_tmp);") ; When I run this once, twice, 10 times, it works all right. ; When I run it 100 times, the values become corrupted, as if something ; gets eaten by chicken's GC. ; What am I doing wrong?