1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

(Dia Primitives): Cross ref for scm_c_define_gsubr.

This commit is contained in:
Kevin Ryde 2005-06-23 00:09:09 +00:00
parent 4906d8bd20
commit e0e75ddfa2

View file

@ -314,7 +314,7 @@ errors like this must be caught at run time.
Having written the C code for your primitives, you need to make them Having written the C code for your primitives, you need to make them
available as Scheme procedures by calling the @code{scm_c_define_gsubr} available as Scheme procedures by calling the @code{scm_c_define_gsubr}
function. @code{scm_c_define_gsubr} (REFFIXME) takes arguments that function. @code{scm_c_define_gsubr} (@pxref{Primitive Procedures}) takes arguments that
specify the Scheme-level name for the primitive and how many required, specify the Scheme-level name for the primitive and how many required,
optional and rest arguments it can accept. The @code{square?} primitive optional and rest arguments it can accept. The @code{square?} primitive
always requires exactly one argument, so the call to make it available always requires exactly one argument, so the call to make it available