author | Camm Maguire <camm@debian.org> | 2014年09月16日 21:24:06 -0400 |
---|---|---|
committer | Camm Maguire <camm@debian.org> | 2014年09月17日 14:48:55 -0400 |
commit | 5b476693cfc35ad3e7ad69e5c7461c4594833ec5 (patch) | |
tree | ce49aed40448c3d9392c456afe0fe03cfa48d73e | |
parent | bee1efbe8487848e76fc6c306378c52fed20410a (diff) | |
download | gcl-5b476693cfc35ad3e7ad69e5c7461c4594833ec5.tar.gz |
-rwxr-xr-x | gcl/o/hash.d | 12 |
diff --git a/gcl/o/hash.d b/gcl/o/hash.d index c87718ea7..4fcfd190b 100755 --- a/gcl/o/hash.d +++ b/gcl/o/hash.d @@ -520,6 +520,18 @@ DEFUN_NEW("HASH-TABLE-SIZE",object,fLhash_table_size,LISP,1,1,NONE,OO,OO,OO,OO,( } +DEFUN_NEW("HASH-TABLE-REHASH-SIZE",object,fLhash_table_rehash_size,LISP,1,1,NONE,OO,OO,OO,OO,(object table),"") +{ + check_type_hash_table(&table); + RETURN1(table->ht.ht_rhsize); +} + +DEFUN_NEW("HASH-TABLE-REHASH-THRESHOLD",object,fLhash_table_rehash_threshold,LISP,1,1,NONE,OO,OO,OO,OO,(object table),"") +{ + check_type_hash_table(&table); + RETURN1(table->ht.ht_rhthresh); +} + void |