mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Move deprecation macro to zeek-config.h.in to avoid having to over-include util.h
This commit is contained in:
parent
9364e6a5b7
commit
f6a251cdac
2 changed files with 5 additions and 5 deletions
|
@ -61,11 +61,6 @@ extern HeapLeakChecker* heap_checker;
|
|||
#include <pthread_np.h>
|
||||
#endif
|
||||
|
||||
// Note: macro for internal use only during deprecation/namespacing process.
|
||||
#define ZEEK_FORWARD_DECLARE_NAMESPACED(cls, ns) \
|
||||
namespace ns { class cls; } \
|
||||
using cls [[deprecated("Remove in v4.1. Use " #ns "::" #cls " instead.")]] = ns::cls;
|
||||
|
||||
[[deprecated("Remove in v4.1. Use uint64_t instead.")]]
|
||||
typedef uint64_t uint64;
|
||||
[[deprecated("Remove in v4.1. Use uint32_t instead.")]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue