Hi Marc,
Should any u8vector and other heap allocated object that is processed in the C world be ___STILL/___FIXED, or if it's only a c-lambda that does not store the ___SCMOBJ for future access anywhere, is it OK to pass ordinary u8vectors and other heap allocated objects to the C world and access them up to the point of returning the c-lambda -
also of course presuming the c-lambda does not do any Scheme world calls, including Gambit runtime calls, but only uses ordinary gambit.h-local accessors e.g. ___U8VECTORREF.
Question arose here https://github.com/vyzo/gerbil/issues/341 .
Thanks, Adam
Afficher les réponses par date