mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-06-27 16:26:38 +02:00
fixing FFI # args check (> 6), not (>= 6)
This commit is contained in:
parent
925401c114
commit
ad1be9cbcd
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@
|
||||||
(s-args '()))
|
(s-args '()))
|
||||||
(cond
|
(cond
|
||||||
((null? ls)
|
((null? ls)
|
||||||
(if (>= i 6)
|
(if (> i 6)
|
||||||
(error "FFI currently only supports up to 6 scheme args" func))
|
(error "FFI currently only supports up to 6 scheme args" func))
|
||||||
(vector scheme-name c-name stub-name ret-type
|
(vector scheme-name c-name stub-name ret-type
|
||||||
(reverse results) (reverse c-args) (reverse s-args)))
|
(reverse results) (reverse c-args) (reverse s-args)))
|
||||||
|
|
Loading…
Add table
Reference in a new issue