added some class accessors/set-ers

This commit is contained in:
Vern Paxson 2023-06-16 15:09:30 -07:00 committed by Arne Welzel
parent 8389fc85d7
commit 1505fd4aa1
4 changed files with 23 additions and 2 deletions

View file

@ -968,9 +968,13 @@ public:
// If the &default attribute is not a function, or the function has
// already been initialized, this does nothing. Otherwise, evaluates
// the function in the frame allowing it to capture its closure.
// the function in the frame, allowing it to capture its closure.
void InitDefaultFunc(detail::Frame* f);
// An alternative that assigns the default value directly. Used
// by ZAM compilation.
void InitDefaultVal(ValPtr def_val);
void ClearTimer(detail::Timer* t)
{
if ( timer == t )