[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.8 load-functions option (-F)

This is the "load scheme callout library" option. This option is used to load Guile-scheme callout functions. The automatically called initialization routine scm_init must be used to register these routines or data. This routine can be generated by using the following command and the `snarf.tpl' template. Read the introductory comment in `snarf.tpl' to see what the `getdefs(1AG)' comment must contain.

 
GRP_NAME=whateveryoulike
eopt="subblock=exparg=arg_name,arg_desc,arg_optional,arg_list"
eopt="$eopt defs=gfunc templ=snarf srcfile"
eopt="assign=group=${GRP_NAME} assign=init=_init $eopt"
eopt="$eopt autogen=${AG} base-name=expr"
getdefs $eopt <<source-file-list>>

Note, however, that your functions must be named:

 
whateveryoulike_scm_<<function_name>>(...)

so you may wish to use a shorter group name.



This document was generated by Bruce Korb on January, 7 2002 using texi2html