Changeset 5880
- Timestamp:
- Feb 10, 2007, 9:26:47 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ccl/lib/foreign-types.lisp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/lib/foreign-types.lisp
r5863 r5880 1340 1340 result-type-specifer is :VOID or NIL" 1341 1341 (funcall (ftd-ff-call-expand-function *target-ftd*) 1342 `(%ff-call ,entry) args) 1343 #+nil 1344 (let* ((monitor (eq (car args) :monitor-exception-ports))) 1345 (when monitor 1346 (setq args (cdr args))) 1347 (collect ((representation nil)) 1348 (when monitor 1349 (representation :monitor-exception-ports)) 1350 (do* ((a args (cddr a))) 1351 ((null (cdr a)) 1352 (if (null a) (representation :void) 1353 (let* ((rettype (car a))) 1354 (representation (foreign-type-to-representation-type 1355 rettype))))) 1356 (let* ((spec (car a)) 1357 (val (cadr a))) 1358 (if (eq spec :registers) 1359 (representation spec) 1360 (representation (foreign-type-to-representation-type spec))) 1361 (representation val))) 1362 `(%ff-call ,entry ,@(representation))))) 1342 `(%ff-call ,entry) args)) 1363 1343 1364 1344
Note:
See TracChangeset
for help on using the changeset viewer.
