226 |
For procedures, you can use @code{SCM_DEFINE} for most purposes. Use |
For procedures, you can use @code{SCM_DEFINE} for most purposes. Use |
227 |
@code{SCM_PROC} along with @code{SCM_REGISTER_PROC} when you don't |
@code{SCM_PROC} along with @code{SCM_REGISTER_PROC} when you don't |
228 |
want to be bothered with docstrings. Use @code{SCM_GPROC} for generic |
want to be bothered with docstrings. Use @code{SCM_GPROC} for generic |
229 |
functions (@pxref{GOOPS,,,goops}). All procedures are declared with |
functions (@pxref{Creating Generic Functions,,, goops, GOOPS}). All |
230 |
return type @code{SCM}. |
procedures are declared with return type @code{SCM}. |
231 |
|
|
232 |
For everything else, use the appropriate macro (@code{SCM_SYMBOL} for |
For everything else, use the appropriate macro (@code{SCM_SYMBOL} for |
233 |
symbols, and so on). Without "_GLOBAL_", the declarations are |
symbols, and so on). Without "_GLOBAL_", the declarations are |