Closed lispnik closed 5 years ago
Instead of passing around CFFI:FOREIGN-POINTER
s for the handles, create a CLOS class that wraps the pointer and includes handy metadata like the package it came from. Might be an opportunity to include a handy PRINT-OBJECT
method to display things like IUP class, etc. This is a pretty big change system wide though.
Actually, just make it a keyword. Control class is unique across iup modules
Should return
'FOO
, but doesn't because key used to lookup doesn't match.It's a bit of a bummer, this one, because the key includes the package name of the control (e.g.
IUP::TREE-MAP_CB
andIUP::CONTROLS::CELLS-MOUSECLICK_CB
), but there's no non-hacky way to get that package information from the control.