mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 22:31:12 +02:00
Fix example to use 'foo, not 'x, as symbol 'x does not seem to cause
the problem.
This commit is contained in:
parent
9eaa7fb6c6
commit
3fcc798d33
1 changed files with 2 additions and 2 deletions
|
@ -169,7 +169,7 @@ SCM_DEFINE (scm_hashq, "hashq", 2, 0, 0,
|
|||
"Thus two calls to hashq where the keys are eq? are not\n"
|
||||
"guaranteed to deliver the same value if the key object gets\n"
|
||||
"garbage collected in between. This can happen, for example\n"
|
||||
"with symbols: (hashq 'x n) (gc) (hashq 'x n) may produce two\n"
|
||||
"with symbols: (hashq 'foo n) (gc) (hashq 'foo n) may produce two\n"
|
||||
"different values, since 'x will be garbage collected.")
|
||||
#define FUNC_NAME s_scm_hashq
|
||||
{
|
||||
|
@ -204,7 +204,7 @@ SCM_DEFINE (scm_hashv, "hashv", 2, 0, 0,
|
|||
"Thus two calls to hashv where the keys are eqv? are not\n"
|
||||
"guaranteed to deliver the same value if the key object gets\n"
|
||||
"garbage collected in between. This can happen, for example\n"
|
||||
"with symbols: (hashv 'x n) (gc) (hashv 'x n) may produce two\n"
|
||||
"with symbols: (hashv 'foo n) (gc) (hashv 'foo n) may produce two\n"
|
||||
"different values, since 'x will be garbage collected.")
|
||||
#define FUNC_NAME s_scm_hashv
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue