diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2020-07-29 08:53:47 +0200 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2020-07-29 08:53:47 +0200 |
commit | a8e31c07a73d646c2e4dfc1e0fc41dfce019cba8 (patch) | |
tree | 61f106bf42989e1bec48021544f57f890d47327d | |
parent | 6f6363de94993d529f736b8ba19445ac374d02f8 (diff) | |
download | zsh-a8e31c07a73d646c2e4dfc1e0fc41dfce019cba8.tar.gz zsh-a8e31c07a73d646c2e4dfc1e0fc41dfce019cba8.tar.xz zsh-a8e31c07a73d646c2e4dfc1e0fc41dfce019cba8.zip |
unposted: comments explaining how hashtable must be created
See zsh-workers 46277, 46278, 46279.
-rw-r--r-- | Src/zsh.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Src/zsh.h b/Src/zsh.h index 6101cf242..a97e83192 100644 --- a/Src/zsh.h +++ b/Src/zsh.h @@ -1180,7 +1180,10 @@ typedef void (*ScanTabFunc) _((HashTable, ScanFunc, int)); typedef void (*PrintTableStats) _((HashTable)); -/* hash table for standard open hashing */ +/* Hash table for standard open hashing. Instances of struct hashtable can be * + * created only by newhashtable(). In fact, this function creates an instance * + * of struct hashtableimpl, which is made of struct hashtable (public part) * + * and additional data members that are only accessible from hashtable.c. */ struct hashtable { /* HASHTABLE DATA */ |