This is the mail archive of the guile@cygnus.com mailing list for the guile project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Turning struct WINDOW pointers into Scheme integers is not the right approach. If someone passes the wrong integer to your functions, the integer will get turned into a stray pointer, and Guile will crash. Turn them into smobs; you can type-check those. For more information, see: ftp://ftp.red-bean.com/pub/jimb/data-rep.texi