mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Remove obsolete ZEEK_FORWARD_DECLARE_NAMESPACED macros
This commit is contained in:
parent
8c4092a0ad
commit
4ad08172d0
121 changed files with 722 additions and 547 deletions
|
@ -8,15 +8,14 @@
|
|||
|
||||
#include "zeek/Hash.h"
|
||||
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(IterCookie, zeek);
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(Dictionary, zeek);
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(DictEntry, zeek::detail);
|
||||
|
||||
// Type for function to be called when deleting elements.
|
||||
typedef void (*dict_delete_func)(void*);
|
||||
|
||||
namespace zeek {
|
||||
|
||||
class IterCookie;
|
||||
class Dictionary;
|
||||
|
||||
enum DictOrder { ORDERED, UNORDERED };
|
||||
|
||||
// A dict_delete_func that just calls delete.
|
||||
|
@ -24,6 +23,8 @@ extern void generic_delete_func(void*);
|
|||
|
||||
namespace detail {
|
||||
|
||||
class DictEntry;
|
||||
|
||||
// Default number of hash buckets in dictionary. The dictionary will increase the size
|
||||
// of the hash table as needed.
|
||||
constexpr uint32_t HASH_MASK = 0xFFFFFFFF; //only lower 32 bits.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue