diff options
Diffstat (limited to 'Src/hashtable.c')
-rw-r--r-- | Src/hashtable.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/hashtable.c b/Src/hashtable.c index 72e4db21b..0451cc8cb 100644 --- a/Src/hashtable.c +++ b/Src/hashtable.c @@ -350,6 +350,10 @@ scanhashtable(HashTable ht, int sorted, int flags1, int flags2, ScanFunc scanfun { struct scanstatus st; + if (ht->scanfunc) { + ht->scanfunc(ht, scanfunc, scanflags); + return; + } if (sorted) { int i, ct = ht->ct; VARARR(HashNode, hnsorttab, ct); |