From f43a9f9babb196718f8ed3476a0cd393b4b9198e Mon Sep 17 00:00:00 2001 From: Vern Paxson Date: Fri, 29 Apr 2022 09:03:56 -0700 Subject: [PATCH] change value_footprint() to val_footprint() to be more similar to val_size() --- src/zeek.bif | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zeek.bif b/src/zeek.bif index 72c18b95f2..07bfdf6e94 100644 --- a/src/zeek.bif +++ b/src/zeek.bif @@ -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(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()); %}