good evening;
> On 2017-09-07, at 16:13, Attila Lendvai wrote:
>
>> (let ((lhs-quad (cffi:foreign-slot-value lhs '(:struct liblmdb:val)
>> 'liblmdb:mv-data))
>>(rhs-quad (cffi:foreign-slot-value rhs '(:struct liblmdb:val)
>> 'liblmdb:mv-data)))
>>(declare (dynamic-extent lhs-quad
> (let ((lhs-quad (cffi:foreign-slot-value lhs '(:struct liblmdb:val)
> 'liblmdb:mv-data))
> (rhs-quad (cffi:foreign-slot-value rhs '(:struct liblmdb:val)
> 'liblmdb:mv-data)))
> (declare (dynamic-extent lhs-quad rhs-quad))
> (%compare-quad lhs-quad rhs-quad)))
try to use (cffi
good afternoon;
it appears that, where a field from a foreign structure is a pointer, when its
value is extracted, the foreign pointer value requires allocation on the heap.
is there some declaration combination which causes the foreign pointer to be
allocated on the stack.
for example, in the