mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Fixup c-value to work with new macro
This commit is contained in:
parent
cdeeef8b27
commit
8fef2ec1ab
2 changed files with 5 additions and 7 deletions
|
@ -9,7 +9,7 @@
|
|||
(define-library (cyclone foreign)
|
||||
(import
|
||||
(scheme base)
|
||||
(scheme write) ;; TODO: debugging only!
|
||||
;(scheme write) ;; TODO: debugging only!
|
||||
;(scheme cyclone pretty-print)
|
||||
(scheme cyclone util)
|
||||
)
|
||||
|
|
|
@ -994,12 +994,10 @@
|
|||
args))
|
||||
|
||||
((eq? 'Cyc-foreign-value fun)
|
||||
(c->scm (car args) (cadr args))
|
||||
;(c:code/vars
|
||||
; (string-append
|
||||
; "obj_int2obj(" (car args) ")")
|
||||
; (list))
|
||||
)
|
||||
(let ((kons (c->scm (car args) (cadr args))))
|
||||
(c:code/vars
|
||||
(cdr kons)
|
||||
(list (car kons)))))
|
||||
|
||||
((prim? fun)
|
||||
(let* ((c-fun
|
||||
|
|
Loading…
Add table
Reference in a new issue