[gambit-list] How can I allocate a vector in a function?

Jason Felice jason.m.felice at gmail.com
Tue Mar 26 10:17:11 EDT 2013


I don't have the environment to use the ___BEGIN_ALLOC_VECTOR() macros. (No
___hp).

I know the size ahead of time.  If possible, I'd like to avoid passing
___hp all the way down.

Actually, this is one place where I'd love documentation - the environment
for writing C functions and how things are protected from gc, etc.   I can
put it together after I figure it out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://webmail.iro.umontreal.ca/pipermail/gambit-list/attachments/20130326/83f91bde/attachment.html 


More information about the Gambit-list mailing list