Pupeno, although I didn't try your code, the tagged pointer functionality seems to work for me (for artificially-generated pointers). E.g.
Version 2, Build 207 - macosx-unix-gnu-ppc - [ dload ptables ] ... #;9> (address->pointer #x80bf740) #<pointer 80bf740> #;10> (tag-pointer # 'x-display) #<tagged pointer x-display 80bf740> Could you try this sequence? Even though dpy prints as a pointer, did you try checking that (pointer? dpy) returns #t? Perhaps the pointer object is not properly copied from the nursery into garbage-collected memory? Most of the time "unprintable immediate object" means the object is pointing to invalid memory, not that the object printer doesn't work. On 11/15/05, Pupeno <[EMAIL PROTECTED]> wrote: > I tried with the lattest from darcs, same result. > -- > Pupeno <[EMAIL PROTECTED]> (http://pupeno.com) > > > _______________________________________________ > Chicken-users mailing list > Chicken-users@nongnu.org > http://lists.nongnu.org/mailman/listinfo/chicken-users > > > > _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users