Re: More arguments for C routines
> Clifford Beshers writes
>
> I have patched STk3.0b1, adding the types tc_subr_4..tc_subr_10. That
> is, I can now use external C functions of up to 10 parameters without
> disassembling lists in my C functions, which I find tedious.
>
> I have noticed that stopping at 3 parameters seems to be a Scheme
> standard.
I don't know why others stop at 3 but I have stopped at this value because
this is the maximum number of arguments that required R4RS procedures have.
> Is there a reason for this or did everyone just think using
> lists after that was easier?
Surely not...
> I'm making an interface to OpenGL, and some functions require 9 parameters.
>
> The changes are simple. If there is no inherent problem with this, I
> will make them available.
>
-- Erick
Received on Tue Oct 17 1995 - 20:37:28 CET
This archive was generated by hypermail 2.3.0
: Mon Jul 21 2014 - 19:38:59 CEST