Translate structure to plist; fix to mem-ref function
commit4064d278a392607227dcfab20fed9acc1f654258
authorLiam M. Healy <lhealy@common-lisp.net>
Fri, 21 Oct 2011 18:20:57 +0000 (21 14:20 -0400)
committerLiam M. Healy <lhealy@common-lisp.net>
Fri, 21 Oct 2011 19:37:52 +0000 (21 15:37 -0400)
treed17244b3d1955788b6bff6a8167ddd762a4a917a
parent9a40b81272c71e25b3f3ca9b891531624458820f
Translate structure to plist; fix to mem-ref function

Define a structure struct-pair-default-translate and test
struct-values-default.translation.mem-ref.1 to test translation from
foreign structure to plist.  In order to make this work, rewrite
mem-ref function to parallel exactly the mem-ref compiler macro,
because conditionals were not correct.
src/types.lisp
tests/struct.lisp