summaryrefslogtreecommitdiff
path: root/doc/ref/api-init.texi
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2007-01-15 23:22:36 +0000
committerKevin Ryde <user42@zip.com.au>2007-01-15 23:22:36 +0000
commit9a18d8d431e4d3d9f524bb6d20611c8693e47d6c (patch)
tree2f9951eefd51c63ebf83d23576f81153a6678d00 /doc/ref/api-init.texi
parent2039f7be7dddf59829a25a0263ac56944e14f970 (diff)
downloadguile-9a18d8d431e4d3d9f524bb6d20611c8693e47d6c.tar.gz
merge from 1.8
Diffstat (limited to 'doc/ref/api-init.texi')
-rw-r--r--doc/ref/api-init.texi6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/ref/api-init.texi b/doc/ref/api-init.texi
index 26e6e71ef..0e4e8b8b7 100644
--- a/doc/ref/api-init.texi
+++ b/doc/ref/api-init.texi
@@ -1,12 +1,13 @@
@c -*-texinfo-*-
@c This is part of the GNU Guile Reference Manual.
-@c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004
+@c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2007
@c Free Software Foundation, Inc.
@c See the file guile.texi for copying conditions.
@node Initialization
@section Initializing Guile
+@cindex Initializing Guile
Each thread that wants to use functions from the Guile API needs to
put itself into guile mode with either @code{scm_with_guile} or
@@ -93,7 +94,8 @@ The function @code{scm_boot_guile} arranges for the Scheme
@code{command-line} function to return the strings given by @var{argc}
and @var{argv}. If @var{main_func} modifies @var{argc} or @var{argv},
it should call @code{scm_set_program_arguments} with the final list, so
-Scheme code will know which arguments have been processed.
+Scheme code will know which arguments have been processed
+(@pxref{Runtime Environment}).
@end deftypefn
@deftypefn {C Function} void scm_shell (int @var{argc}, char **@var{argv})