[Ecls-list] build lisp array in C

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Thu Jun 30 22:30:07 UTC 2011


On Fri, Jul 1, 2011 at 12:18 AM, Eric Schulte <schulte.eric at gmail.com>wrote:

> Hi,
>
> While I'm generally having success using lisp objects from within C, I
> am unable to successfully create a lisp array from a list of C ints.
> For example the following throws invalid memory access errors [1] on the
> first call to si_aset...

[...]

>  fix(i), fix(c_bytes[i]));


MAKE_FIXNUM(i), MAKE_FIXNUM(c_bytes[i]))

...

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110701/a4dec9ce/attachment.html>


More information about the ecl-devel mailing list