1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-24 20:30:28 +02:00

Typos fixed. Use existing functions in explaining symbol and keyword

snarfer.
This commit is contained in:
Marius Vollmer 2004-08-25 19:02:34 +00:00
parent 41e4b9926d
commit c310ad4f20

View file

@ -72,7 +72,7 @@ respectively. While snarfing, they both expand into the
initialization code
@smallexample
@var{c_name} = scm_permanent_object (scm_from_symbol (@var{scheme_name}));
@var{c_name} = scm_permanent_object (scm_from_locale_symbol (@var{scheme_name}));
@end smallexample
Thus, you can use them declare a static or global variable of type
@ -98,7 +98,7 @@ respectively. While snarfing, they both expand into the
initialization code
@smallexample
@var{c_name} = scm_permanent_object (scm_from_keyword (@var{scheme_name}));
@var{c_name} = scm_permanent_object (scm_c_make_keyword (@var{scheme_name}));
@end smallexample
Thus, you can use them declare a static or global variable of type
@ -132,12 +132,12 @@ respectively. While snarfing, they both expand into the
initialization code
@smallexample
@var{c_name} = scm_permanent_object (scm_c_define (@var{scheme_name}, @var{value});
@var{c_name} = scm_permanent_object (scm_c_define (@var{scheme_name}, @var{value}));
@end smallexample
Thus, you can use them declare a static or global C variable of type
@code{SCM} that will be initialized to the object representing the
Scheme variable named d@var{scheme_name} in the current module. The
Scheme variable named @var{scheme_name} in the current module. The
variable will be defined when it doesn't already exist. It is always
set to @var{value}.
@end deffn