From 0d5af1c7dc7c31a176b089de5928ba92cd6b37b4 Mon Sep 17 00:00:00 2001 From: Austin Roberts Date: Thu, 2 Sep 2021 16:26:40 -0500 Subject: [PATCH] Add Len() to Stack --- core/vm/plugin_hooks.go | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 core/vm/plugin_hooks.go diff --git a/core/vm/plugin_hooks.go b/core/vm/plugin_hooks.go new file mode 100644 index 000000000..728e3c75f --- /dev/null +++ b/core/vm/plugin_hooks.go @@ -0,0 +1,5 @@ +package vm + +func (st *Stack) Len() int { + return len(st.data) +}