mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-16 01:07:34 +02:00
Bugfix, do not add & for "fast" functions
This commit is contained in:
parent
cf735c7917
commit
5d089b83eb
1 changed files with 6 additions and 1 deletions
|
@ -552,7 +552,12 @@
|
|||
(lambda (type)
|
||||
(let ((cv-name (mangle (gensym 'c))))
|
||||
(c-code/vars
|
||||
(string-append (if (prim:cont? p) "" "&") cv-name)
|
||||
(string-append
|
||||
(if (or (prim:cont? p)
|
||||
(prim/c-var-pointer p)) ;; Assume returns object
|
||||
""
|
||||
"&")
|
||||
cv-name)
|
||||
(list
|
||||
(string-append
|
||||
;; Define closure if necessary (apply only)
|
||||
|
|
Loading…
Add table
Reference in a new issue