Skip to content

Commit

Permalink
FSBV: fix defcfun expansion for returning a struct.
Browse files Browse the repository at this point in the history
The test called alloc_pair_plus_one compiled with a full warning before
the fix.
  • Loading branch information
attila-lendvai committed Dec 26, 2015
1 parent f183953 commit 9281d6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libffi/functions.lisp
Expand Up @@ -84,7 +84,7 @@
;; expand-from-foreign, we have to do it here
`(mem-ref
,(translate-objects symbols function-arguments types return-type call-form t)
,(canonicalize-foreign-type return-type)))))
',(canonicalize-foreign-type return-type)))))

(defun ffcall-body-libffi
(function function-arguments symbols types return-type argument-types &optional pointerp (abi :default-abi))
Expand Down

0 comments on commit 9281d6b

Please sign in to comment.