Node:Structuring argument lists for C functions, Previous:Transforming Scheme name to C name, Up:Primitives



20.1.2 Structuring argument lists for C functions

The C function's arguments will be all of the Scheme procedure's arguments, both required and optional; if the Scheme procedure takes a "rest" argument, that will be a final argument to the C function. The C function's arguments, as well as its return type, will be SCM.