Re: lgtk-0.0.3 - experimental gtk bindings for Common Lisp
Daniel Barlow <[email protected]> Wed, 05 Nov 2003 16:47:08 +0000
| Newsgroups | gmane.lisp.clump |
|---|---|
| Message-ID | <[email protected]> |
Mario Mommer <[email protected]> writes: > BTW, there are ways around it. Once you have the names of the slots, > you can get the offsets by compiling a C program that does something > like > > struct_name instance; > printf("%d\n",((int)&instance.slot)-((int)&instance)); This is what sb-grovel does. Well, more or less: in fact I think it uses the offsetof macro, but it's basically the same stuff. Making sb-grovel generate ALIEN objects is on the list of things I may or may not get to before I die. -dan -- http://web.metacircles.com/cirCLe_CD - Free Software Lisp/Linux distro _______________________________________________ Clump mailing list [email protected] http://manly.caddr.com/mailman/listinfo/clump
signature.asc
(application/pgp-signature, 188 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQA/qSmTHDK5ZnWQiRMRAmQEAKC1CPJkK74WEf0hG9ZsResYkjt0hQCgt63F 1TjAhM0SZbc0iG9QjRvo7/0= =m6CD -----END PGP SIGNATURE-----