I'm trying to use ___S32VECTORREF as ___F32VECTORREF was illustrated previously on this list. The rest of my code works fine, and if I use float homogenous arrays, that works.
___SCMOBJ shared_array;
...
int ival = ___S32VECTORREF(shared_array, i);
I've also tried
int ival = ___S32VECTORREF(shared_array, ___FIX(i));
Both result in:
Line Location scheme-bridge.c:66: error: '___hp' undeclared (first use in this function) Line Location scheme-bridge.c:66: error: '___s32_temp' undeclared (first use in this function)
It's not clear to me from the macro definitions in gambit.h how to get around this.
Any help appreciated.
- Tom