[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
strange record behavior in MCL2.0B1P2 (system 7) (again)
- To: firstname.lastname@example.org (Macintosh Allegro Common Lisp)
- Subject: strange record behavior in MCL2.0B1P2 (system 7) (again)
- From: email@example.com (Guillaume Cartier)
- Date: Wed, 12 Jun 91 14:54:00 -0400
> You cannot simply pretend that something is a pointer and not a handle.
> You have to actually make it a pointer. You get a pointer from a handle
> by dereferencing it.
> If a bitmap is a handle, then you cannot say:
> (rref b :bitmap.bounds :storage :pointer)
> You must say
> (with-dereferenced-handles ((b-pointer b))
> (rref b :bitmap.bounds :storage :pointer))
> Of course, if you do this and the handle is then relocated, you will
But (make-bitmap 0 0 10 10) returns a pointer!!!
? (setq b (make-bitmap 0 0 10 10))
#<A Mac Zone Pointer Size 34 #x18D240>
LACIM, Universite du Quebec a Montreal.
Bureau: (514) 987-4290