Re: unboxed structure fields (or class slots)
"Alexey Veretennikov (as alexey dot veretennikov at protonmail dot com)" <[email protected]>
| Newsgroups | gmane.lisp.lispworks.general |
|---|---|
| Message-ID | <NxX1J_W3Lo4egcVvBxf_lOKJil4ILruAZ5LNMsxvFafns3C16XW7gOj0_tmdWinTBZ2YpNV_44JpOCT6N7_39_8wuHTIlWDbL5x2Kp5mhd4=@protonmail.com> |
Hi, I'm pretty sure you've tried it already but I would just define a fli C-struct, store a fli object allocated with fli:allocate-foreign-object for this struct as a class member and define a couple of accessor methods to access fields for the struct from your class, with the same naming conventions as the class accessors. BR, /Alexey On Tuesday, January 6th, 2026 at 20:54, Tim Bradshaw (as tfb at tfeb dot org) <[email protected]> wrote: > Are there any cases where LW can handle, for instance, unboxed doubles in structures (or CLOS instances). > > I haven't been able to persuade it to. > > --tim > > _______________________________________________ > Lisp Hug - the mailing list for LispWorks users > [email protected] > http://www.lispworks.com/support/lisp-hug.html _______________________________________________ Lisp Hug - the mailing list for LispWorks users [email protected] http://www.lispworks.com/support/lisp-hug.html