Hi all!
How can I represent a 'const int' type within gambit's ffi? Lets say I have the
C funciton:
const int adder(int n){ blablabla...}
and I want to interface that function with a c-lambda, how can I do that? If I
try to omit the 'const' for the parameter's type, I get an error (bad type
convertion) when compiling with g++ ("invalid conversion from ‘const void*’ to
‘void*'")...
I haven't seen anything talking about 'const' types in the ffi documentation...
By the way, I'd like to thank you all for always answering and answering
quickily to all my (and others) questions! It really helps and motivates me to
program in scheme! ^_^
David