On Fri, Feb 24, 2012 at 06:34, Martin Simmons <mar...@lispworks.com> wrote:
> To answer Ryan's point, I think there should be a different function to get a
> pointer to an element of an array, called something like mem-aptr.  It should
> work for all element types, not just aggregates.
>
> That allows mem-aref to have "value" semantics for all types.  For aggregates,
> converting to a plist is one possible way to representing it.

This is actually what I'm doing as an interim workaround.  If this was
official functionality it would be great.  I've been assuming that it
was more desirable to have this represented notationally.

For backward compatibility it might be nice for the deprecated
(bareword) behavior to retain the old semantics, though.

(Default representation for dereferenced aggregates doesn't matter to
me, just that you currently must.)

-- 
Ryan Pavlik <rpav...@gmail.com>
425.220.9585

_______________________________________________
cffi-devel mailing list
cffi-devel@common-lisp.net
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel

Reply via email to