124 |
|
|
125 |
SCM_DEFINE (scm_weak_vector, "weak-vector", 0, 0, 1, |
SCM_DEFINE (scm_weak_vector, "weak-vector", 0, 0, 1, |
126 |
(SCM l), |
(SCM l), |
127 |
"@deffnx primitive list->weak-vector l\n" |
"@deffnx {Scheme Procedure} list->weak-vector l\n" |
128 |
"Construct a weak vector from a list: @code{weak-vector} uses\n" |
"Construct a weak vector from a list: @code{weak-vector} uses\n" |
129 |
"the list of its arguments while @code{list->weak-vector} uses\n" |
"the list of its arguments while @code{list->weak-vector} uses\n" |
130 |
"its only argument @var{l} (a list) to construct a weak vector\n" |
"its only argument @var{l} (a list) to construct a weak vector\n" |
167 |
|
|
168 |
SCM_DEFINE (scm_make_weak_key_hash_table, "make-weak-key-hash-table", 1, 0, 0, |
SCM_DEFINE (scm_make_weak_key_hash_table, "make-weak-key-hash-table", 1, 0, 0, |
169 |
(SCM size), |
(SCM size), |
170 |
"@deffnx primitive make-weak-value-hash-table size\n" |
"@deffnx {Scheme Procedure} make-weak-value-hash-table size\n" |
171 |
"@deffnx primitive make-doubly-weak-hash-table size\n" |
"@deffnx {Scheme Procedure} make-doubly-weak-hash-table size\n" |
172 |
"Return a weak hash table with @var{size} buckets. As with any\n" |
"Return a weak hash table with @var{size} buckets. As with any\n" |
173 |
"hash table, choosing a good size for the table requires some\n" |
"hash table, choosing a good size for the table requires some\n" |
174 |
"caution.\n" |
"caution.\n" |
206 |
|
|
207 |
SCM_DEFINE (scm_weak_key_hash_table_p, "weak-key-hash-table?", 1, 0, 0, |
SCM_DEFINE (scm_weak_key_hash_table_p, "weak-key-hash-table?", 1, 0, 0, |
208 |
(SCM obj), |
(SCM obj), |
209 |
"@deffnx primitive weak-value-hash-table? obj\n" |
"@deffnx {Scheme Procedure} weak-value-hash-table? obj\n" |
210 |
"@deffnx primitive doubly-weak-hash-table? obj\n" |
"@deffnx {Scheme Procedure} doubly-weak-hash-table? obj\n" |
211 |
"Return @code{#t} if @var{obj} is the specified weak hash\n" |
"Return @code{#t} if @var{obj} is the specified weak hash\n" |
212 |
"table. Note that a doubly weak hash table is neither a weak key\n" |
"table. Note that a doubly weak hash table is neither a weak key\n" |
213 |
"nor a weak value hash table.") |
"nor a weak value hash table.") |