This is the mail archive of the guile@cygnus.com mailing list for the guile project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
I think this is beautiful! Jim Blandy <jimb@red-bean.com> writes: > SCM gh_unlease_doubles (gh_lease LEASE) > > Convert the array returned by the function which returned LEASE > into a Scheme vector of the appropriate type. The returned object > may or may not be identical to the one passed to the original > function. But we should add that gh_unlease_doubles also frees the LEASE. BTW, there's the question whether gh_unlease_doubles will return a scm_tc7_dvect or a scm_tc7_vector. One solution is that unlease returns the same type as the original vector (the one which was leased). Maybe this was what you meant?