mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Deprecate record_type_to_vector
After #4682, record_fields is ordered so this is redundant. Furthermore, it is incorrectly documented, as it says nested records are flattened.
This commit is contained in:
parent
7894d88461
commit
7f93ff5ecd
1 changed files with 1 additions and 1 deletions
|
@ -2052,7 +2052,7 @@ function bare_mode%(%): bool
|
||||||
## rt: The name of the record type.
|
## rt: The name of the record type.
|
||||||
##
|
##
|
||||||
## Returns: A string vector with the field names of *rt*.
|
## Returns: A string vector with the field names of *rt*.
|
||||||
function record_type_to_vector%(rt: string%): string_vec
|
function record_type_to_vector%(rt: string%): string_vec &deprecated="Remove in v8.1: Consider using the ordered table from record_fields"
|
||||||
%{
|
%{
|
||||||
auto result = zeek::make_intrusive<zeek::VectorVal>(zeek::id::string_vec);
|
auto result = zeek::make_intrusive<zeek::VectorVal>(zeek::id::string_vec);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue