Scope of safe use of u8-vector that is not ___STILL/___FIXED, in the C world
22 Oct
2019
22 Oct
'19
14:50
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
2433
Âge (en jours)
2433
Dernière activité (en jours)
0 commentaires
1 participants
participants (1)
-
Adam