mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-14 23:50:19 +02:00
* strop.c (s_scm_string_capitalize_x): fix docstring quoting.
* socket.c (s_scm_inet_pton): fix docstring quoting. (s_scm_inet_ntop): ditto. * num2integral.i.c (INTEGRAL2NUM): cast to fix a warning. * hashtab.c (scm_internal_hash_fold): fix argument position in SCM_ASSERT. * environments.c (s_scm_import_environment_set_imports_x): fix argument position in SCM_ASSERT. * debug.c (s_scm_make_gloc): fix SCM packing/unpacking. (s_scm_make_iloc): ditto.
This commit is contained in:
parent
1db81cb09a
commit
dd85ce4758
7 changed files with 34 additions and 16 deletions
|
@ -355,8 +355,8 @@ SCM_DEFINE (scm_inet_pton, "inet-pton", 2, 0, 0,
|
|||
"the result is an integer with normal host byte ordering.\n"
|
||||
"@var{family} can be @code{AF_INET} or @code{AF_INET6}. E.g.,\n\n"
|
||||
"@lisp\n"
|
||||
"(inet-pton AF_INET "127.0.0.1") @result{} 2130706433\n"
|
||||
"(inet-pton AF_INET6 "::1") @result{} 1\n"
|
||||
"(inet-pton AF_INET \"127.0.0.1\") @result{} 2130706433\n"
|
||||
"(inet-pton AF_INET6 \"::1\") @result{} 1\n"
|
||||
"@end lisp")
|
||||
#define FUNC_NAME s_scm_inet_pton
|
||||
{
|
||||
|
@ -389,7 +389,7 @@ SCM_DEFINE (scm_inet_ntop, "inet-ntop", 2, 0, 0,
|
|||
"the input is an integer with normal host byte ordering.\n"
|
||||
"@var{family} can be @code{AF_INET} or @code{AF_INET6}. E.g.,\n\n"
|
||||
"@lisp\n"
|
||||
"(inet-ntop AF_INET 2130706433) @result{} "127.0.0.1"\n"
|
||||
"(inet-ntop AF_INET 2130706433) @result{} \"127.0.0.1\"\n"
|
||||
"(inet-ntop AF_INET6 (- (expt 2 128) 1)) @result{}\n"
|
||||
"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff\n"
|
||||
"@end lisp")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue