Changeset 5742
- Timestamp:
- Jan 20, 2007, 6:16:05 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ccl/library/parse-ffi.lisp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/library/parse-ffi.lisp
r5718 r5742 645 645 (setq args (butlast args))) 646 646 (when (ffi-record-type-p retval) 647 (if *ffi-struct-return-explicit* 648 (format t "~& explicit struct return for ~s" ffi-function) 649 (progn 650 (push retval args) 651 (push `(:pointer ,retval) (ffi-function-arglist ffi-function)) 652 (setf (ffi-function-return-value ffi-function) *ffi-void-reference*) 653 (setq retval *ffi-void-reference*)))) 647 (unless *ffi-struct-return-explicit* 648 (push retval args) 649 (push `(:pointer ,retval) (ffi-function-arglist ffi-function)) 650 (setf (ffi-function-return-value ffi-function) *ffi-void-reference*) 651 (setq retval *ffi-void-reference*))) 654 652 (dolist (arg args) (ensure-referenced-type-defined arg)) 655 653 (ensure-referenced-type-defined retval)
Note:
See TracChangeset
for help on using the changeset viewer.
