| www.delorie.com/gnu/docs/guile/guile_360.html | search |
![]() Buy GNU books! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The last sections have described how modules are used in Scheme code, which is the recommended way of creating and accessing modules. You can also work with modules from C, but it is more cumbersome.
The following procedures are available.
scm_c_call_with_current_module is the return value of
func.
scm_c_lookup, but the symbol is specified directly.
scm_c_lookup and scm_lookup, but the specified
module is used instead of the current one.
scm_c_define, but the symbol is specified directly.
scm_c_define and scm_define, but the specified
module is used instead of the current one.
The parameter name is a string with the symbols that make up the module name, separated by spaces. For example, `"foo bar"' names the module `(foo bar)'.
When there already exists a module named name, it is used unchanged, otherwise, an empty module is created.
scm_c_define_module.
scm_c_resolve_module, but the name is given as a real list
of symbols.
(use-modules name). The name is
interpreted as for scm_c_define_module.
NULL.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |