mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 20:48:21 +00:00
change value_footprint() to val_footprint() to be more similar to val_size()
This commit is contained in:
parent
edf276520a
commit
f43a9f9bab
1 changed files with 2 additions and 2 deletions
|
@ -1993,7 +1993,7 @@ function global_sizes%(%): var_sizes &deprecated="Remove in v5.1. MemoryAllocati
|
|||
##
|
||||
## Returns: A table that maps variable names to their footprints.
|
||||
##
|
||||
## .. zeek:see:: value_footprint
|
||||
## .. zeek:see:: val_footprint
|
||||
function global_container_footprints%(%): var_sizes
|
||||
%{
|
||||
auto sizes = zeek::make_intrusive<zeek::TableVal>(IntrusivePtr{zeek::NewRef{}, var_sizes});
|
||||
|
@ -2022,7 +2022,7 @@ function global_container_footprints%(%): var_sizes
|
|||
## Returns: the footprint.
|
||||
##
|
||||
## .. zeek:see:: global_container_footprints
|
||||
function value_footprint%(v: any%): count
|
||||
function val_footprint%(v: any%): count
|
||||
%{
|
||||
return zeek::val_mgr->Count(v->Footprint());
|
||||
%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue