mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-09 22:17:34 +02:00
Fixing vector sizing bug in FFI for functions of 6 or more arguments.
This commit is contained in:
parent
75f67b5474
commit
3895be298a
1 changed files with 1 additions and 1 deletions
|
@ -1089,7 +1089,7 @@
|
||||||
(if (= i 4)
|
(if (= i 4)
|
||||||
(cat " sexp_opcode_argn_type(op) = "
|
(cat " sexp_opcode_argn_type(op) = "
|
||||||
"sexp_make_vector(ctx, sexp_make_fixnum("
|
"sexp_make_vector(ctx, sexp_make_fixnum("
|
||||||
(- i 3) "),"
|
(- (length (func-c-args func)) 3) "),"
|
||||||
" sexp_make_fixnum(SEXP_OBJECT));\n"))
|
" sexp_make_fixnum(SEXP_OBJECT));\n"))
|
||||||
(cat " sexp_vector_set(sexp_opcode_argn_type(op), "
|
(cat " sexp_vector_set(sexp_opcode_argn_type(op), "
|
||||||
"sexp_make_fixnum(" (- i 4) "), "
|
"sexp_make_fixnum(" (- i 4) "), "
|
||||||
|
|
Loading…
Add table
Reference in a new issue