Changeset 5717
- Timestamp:
- Jan 18, 2007, 2:58:12 AM (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
r5702 r5717 54 54 (external-function-definitions (make-hash-table :test #'eq)) 55 55 (dirlist (make-dll-header)) 56 (attributes ())) 56 (attributes ()) 57 (ff-call-expand-function ())) 57 58 58 59 … … 68 69 :signed-char #+darwinppc-target t #-darwinppc-target nil 69 70 :struct-by-value #+darwinppc-target t #-darwinppc-target nil 70 :prepend-underscores #+darwinppc-target t #-darwinppc-target nil))) 71 :struct-return-in-registers #+(or (and darwinppc-target 64-bit-target)) t #-(or (and darwinppc-target 64-bit-target)) nil 72 :struct-return-explicit #+(or (and darwinppc-target 64-bit-target)) t #-(or (and darwinppc-target 64-bit-target)) nil 73 :struct-by-value-by-field #+(or (and darwinppc-target 64-bit-target)) t #-(or (and darwinppc-target 64-bit-target)) nil 74 75 :prepend-underscores #+darwinppc-target t #-darwinppc-target nil) 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 85 )) 71 86 72 87 (defvar *target-ftd* *host-ftd*) … … 1324 1339 (let* ((spec (car a)) 1325 1340 (val (cadr a))) 1326 (representation (foreign-type-to-representation-type spec)) 1341 (if (eq spec :registers) 1342 (representation spec) 1343 (representation (foreign-type-to-representation-type spec))) 1327 1344 (representation val))) 1328 1345 `(%ff-call ,entry ,@(representation))))) … … 1447 1464 ((<= bits 16) (if signed :signed-halfword :unsigned-halfword)) 1448 1465 ((<= bits 32) (if signed :signed-fullword :unsigned-fullword)) 1466 ((<= bits 64) (if signed :signed-doubleword :unsigned-doubleword)) 1449 1467 (t `(:record ,bits))))) 1450 1468 (foreign-float-type
Note:
See TracChangeset
for help on using the changeset viewer.
