Skip to content
Snippets Groups Projects
Commit b2714398 authored by wlott's avatar wlott
Browse files

This commit was generated by cvs2svn to compensate for changes in r1807,

which included commits to RCS files with non-trunk default branches.
parents 21859ce8 48511845
No related branches found
No related tags found
No related merge requests found
......@@ -528,9 +528,12 @@
(unless (c-type-size type)
(error "Can't return pointers to objects of unknown size: ~S"
(c-type-description return-type)))
`(make-alien ',(c-type-description type)
,(c-type-size type)
,(sub-compute-call-form 'system-area-pointer))))
(let ((sap (gensym "SAP-")))
`(let ((,sap ,(sub-compute-call-form 'system-area-pointer)))
(unless (zerop (sap-int ,sap))
(make-alien ',(c-type-description type)
,(c-type-size type)
,sap))))))
(array-type
(unless (c-type-size return-type)
(error "Can't return arrays of unknown size: ~S"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment