mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-18 23:32:17 -08:00
cmp/c++: fix inlined function calls
We have 3 more regressions with CXX in comparison to pure C mode. Related to #241.
This commit is contained in:
parent
e010740f06
commit
691e77c3be
1 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@
|
|||
(si::put-sysprop ',name :callback
|
||||
(list
|
||||
(ffi:c-inline () () :object
|
||||
,(format nil "ecl_make_foreign_data(@':pointer-void,0,~a)" c-name)
|
||||
,(format nil "ecl_make_foreign_data(@':pointer-void,0,(void*)~a)" c-name)
|
||||
:one-liner t)))))
|
||||
)))
|
||||
|
||||
|
|
@ -126,7 +126,7 @@
|
|||
(wt-nl "ecl_stack_frame_push(frame,ecl_foreign_data_ref_elt(&var"
|
||||
n "," ct "));")
|
||||
(wt-nl "ecl_stack_frame_push(frame,ecl_make_foreign_data(&var"
|
||||
n "," ct "," (ffi:size-of-foreign-type type) "));")))
|
||||
n "," ct ", (void*)" (ffi:size-of-foreign-type type) "));")))
|
||||
(wt-nl "aux = ecl_apply_from_stack_frame(frame,"
|
||||
"ecl_fdefinition(" c-name-constant "));")
|
||||
(wt-nl "ecl_stack_frame_close(frame);")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue