mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +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
|
@ -265,7 +265,7 @@ SCM_DEFINE (scm_make_gloc, "make-gloc", 1, 1, 0,
|
|||
env = scm_top_level_env (SCM_TOP_LEVEL_LOOKUP_CLOSURE);
|
||||
else
|
||||
SCM_VALIDATE_NULLORCONS (2,env);
|
||||
return scm_make_memoized (SCM_UNPACK (var) + scm_tc3_cons_gloc, env);
|
||||
return scm_make_memoized (SCM_PACK (SCM_UNPACK (var) + scm_tc3_cons_gloc), env);
|
||||
}
|
||||
#undef FUNC_NAME
|
||||
|
||||
|
@ -288,10 +288,10 @@ SCM_DEFINE (scm_make_iloc, "make-iloc", 3, 0, 0,
|
|||
{
|
||||
SCM_VALIDATE_INUM (1,frame);
|
||||
SCM_VALIDATE_INUM (2,binding);
|
||||
return (SCM_ILOC00
|
||||
+ SCM_IFRINC * SCM_INUM (frame)
|
||||
+ (SCM_NFALSEP (cdrp) ? SCM_ICDR : 0)
|
||||
+ SCM_IDINC * SCM_INUM (binding));
|
||||
return SCM_PACK (SCM_UNPACK (SCM_ILOC00)
|
||||
+ SCM_IFRINC * SCM_INUM (frame)
|
||||
+ (SCM_NFALSEP (cdrp) ? SCM_ICDR : 0)
|
||||
+ SCM_IDINC * SCM_INUM (binding));
|
||||
}
|
||||
#undef FUNC_NAME
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue