Add Len() to Stack
This commit is contained in:
1 parent
f615e3813d
commit
0d5af1c7dc
1 file changed
+5
@@ -0,0 +1,5 @@
|
||||
package vm
|
||||
|
||||
func (st *Stack) Len() int {
|
||||
return len(st.data)
|
||||
}
|
||||
Reference in new issue
Block a user