12 |
@node Garbage Collection |
@node Garbage Collection |
13 |
@section Garbage Collection |
@section Garbage Collection |
14 |
|
|
|
[FIXME: this is pasted in from Tom Lord's original guile.texi and should |
|
|
be reviewed] |
|
|
|
|
15 |
@deffn {Scheme Procedure} gc |
@deffn {Scheme Procedure} gc |
16 |
@deffnx {C Function} scm_gc () |
@deffnx {C Function} scm_gc () |
17 |
Scans all of SCM objects and reclaims for further use those that are |
Scans all of SCM objects and reclaims for further use those that are |
18 |
no longer accessible. |
no longer accessible. You normally don't need to call this function |
19 |
|
explicitly. It is called automatically when appropriate. |
20 |
@end deffn |
@end deffn |
21 |
|
|
22 |
@deffn {Scheme Procedure} gc-stats |
@deffn {Scheme Procedure} gc-stats |
111 |
@deffnx {Scheme Procedure} weak-value-hash-table? obj |
@deffnx {Scheme Procedure} weak-value-hash-table? obj |
112 |
@deffnx {Scheme Procedure} doubly-weak-hash-table? obj |
@deffnx {Scheme Procedure} doubly-weak-hash-table? obj |
113 |
@deffnx {C Function} scm_weak_key_hash_table_p (obj) |
@deffnx {C Function} scm_weak_key_hash_table_p (obj) |
114 |
|
@deffnx {C Function} scm_weak_value_hash_table_p (obj) |
115 |
|
@deffnx {C Function} scm_doubly_weak_hash_table_p (obj) |
116 |
Return @code{#t} if @var{obj} is the specified weak hash |
Return @code{#t} if @var{obj} is the specified weak hash |
117 |
table. Note that a doubly weak hash table is neither a weak key |
table. Note that a doubly weak hash table is neither a weak key |
118 |
nor a weak value hash table. |
nor a weak value hash table. |