low-level addition of enum values

This commit is contained in:
Vern Paxson 2021-03-18 10:36:52 -07:00
parent d53d2ac755
commit b242430bd1
2 changed files with 10 additions and 0 deletions

View file

@ -716,6 +716,8 @@ protected:
void AddNameInternal(const std::string& module_name,
const char* name, bro_int_t val, bool is_export);
void AddNameInternal(const std::string& full_name, bro_int_t val);
void CheckAndAddName(const std::string& module_name,
const char* name, bro_int_t val, bool is_export,
detail::Expr* deprecation = nullptr,