Changeset 5743
- Timestamp:
- Jan 20, 2007, 6:17:40 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ccl/lib/foreign-types.lisp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/lib/foreign-types.lisp
r5717 r5743 75 75 :prepend-underscores #+darwinppc-target t #-darwinppc-target nil) 76 76 :ff-call-expand-function 77 #+(and darwinppc-target 32-bit-target) 'ppc32::darwin-expand-ff-call 78 #+(and darwinppc-target 64-bit-target) 'ppc64::darwin-expand-ff-call 79 #+(and linuxppc-target 32-bit-target) 'ppc32::linux-expand-ff-call 80 #+(and linuxppc-target 64-bit-target) 'ppc64::linux-expand-ff-call 81 #+linuxx8664-target 'x8664::linux-expand-ff-call 82 #+darwinx8664-target 'x8664:::darwin-expand-ff-call 83 #+freebsdx8664-target 'x8664:::freebsd-expand-ff-call 84 77 'os::expand-ff-call 85 78 )) 86 79 … … 332 325 333 326 (defmethod make-load-form ((s foreign-type) &optional env) 334 (make-load-form-saving-slots s :environment env)) 327 (if (eq s *void-foreign-type*) 328 '*void-foreign-type* 329 (make-load-form-saving-slots s :environment env))) 335 330 336 331 … … 1523 1518 (typep f 'unsigned-byte)) 1524 1519 f 1525 (let* ((ftype (parse-foreign-type f))) 1520 (let* ((ftype (if (typep f 'foreign-type) 1521 f 1522 (parse-foreign-type f)))) 1526 1523 (or 1527 1524 (and (eq (foreign-type-class ftype) 'root) :void) 1528 1525 (typecase ftype 1529 ( foreign-pointer-type:address)1526 ((or foreign-pointer-type foreign-array-type) :address) 1530 1527 (foreign-double-float-type :double-float) 1531 1528 (foreign-single-float-type :single-float) … … 1550 1547 (if (<= bits 64) 1551 1548 :unsigned-doubleword))))))) 1552 ( (or foreign-record-type foreign-array-type)1549 (foreign-record-type 1553 1550 (if (getf (ftd-attributes *target-ftd*) 1554 1551 :struct-by-value)
Note:
See TracChangeset
for help on using the changeset viewer.
