Improvements for Chibi
This commit is contained in:
parent
83169beb2a
commit
9240a5a11e
|
|
@ -256,6 +256,6 @@
|
|||
if(sexp_procedurep(proc) == 1) {
|
||||
puts(\"ITS A PROCEDURE\");
|
||||
}
|
||||
return proc->source; //FIXME
|
||||
return (void*)proc; //FIXME
|
||||
}")
|
||||
(define-c void* (scheme-procedure-to-pointer scheme_procedure_to_pointer) (sexp))
|
||||
|
|
|
|||
2
test.scm
2
test.scm
|
|
@ -771,7 +771,7 @@
|
|||
(pffi-pointer-get array 'int (* (pffi-size-of 'int) 1))
|
||||
(pffi-pointer-get array 'int (* (pffi-size-of 'int) 2))))
|
||||
(newline)
|
||||
;(qsort array 3 (pffi-size-of 'int) compare)
|
||||
(qsort array 3 (pffi-size-of 'int) compare)
|
||||
|
||||
(display "Sorted: ")
|
||||
(write (list (pffi-pointer-get array 'int (* (pffi-size-of 'int) 0))
|
||||
|
|
|
|||
Loading…
Reference in New Issue