[info-mcl] Record types from 5.1 to 5.2

Sandro Pedrazzini sandro.pedrazzini at canoo.com
Mon Nov 16 03:09:46 CST 2009


Hi,

Trying to load a 5.1 application with 5.2, I encounter some problems  
with possibly changed record type names.
Here a couple of examples:

(rref (wptr *WMgr-View*) :grafport.txfont)

 > Error: :GRAFPORT is not a valid record type
 > While executing: FIND-RECORD-DESCRIPTOR


(defun move-region-to (rgn-handle h &optional v)
   (let* ((delta (make-point h v))
          (dh (point-h delta))
          (dv (point-v delta)))
     (#_OffsetRgn rgn-handle (- dh (href rgn- 
handle :Region.rgnBBox.left))
                             (- dv (href rgn- 
handle :Region.rgnBBox.top )))))


 > Error :REGION is not a valid record type
 > While executing: FIND-RECORD-DESCRIPTOR



Those errors do not appear on 5.1
I guess this is an old difference between MCL 5.1 and MCL 5.2, but  
because we never ported to MCL 5.2 we encounter the problem only now.

Any hints?


Best regards
Sandro




More information about the info-mcl mailing list