Skip to content

Commit 73817e6

Browse files
committed
Add to type call for libraries
1 parent 1bdb156 commit 73817e6

5 files changed

Lines changed: 495 additions & 492 deletions

File tree

docs/use/libraries/index.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@ Call type
2828
| *The call type argument is a reference of a method in an library object.*
2929
| Exist fourth internal methods that must be implemented in the entry function and are called by the VM:
3030
31-
* VM_EDFAT_NEW: Called when a new library object is created
32-
* VM_EDFAT_PUSH: Called when a library object is pushed to the stack
33-
* VM_EDFAT_CMP: Called when a comparison is performed
34-
* VM_EDFAT_GC: Called in the garbage collector unit
31+
* VM_EDFAT_NEW: Called when a new library object is created.
32+
* VM_EDFAT_PUSH: Called when a library object is pushed to the stack.
33+
* VM_EDFAT_CMP: Called when a comparison is performed.
34+
* VM_EDFAT_GC: Called in the garbage collector unit.
35+
* VM_EDFAT_TOTYPE: Called when TO_TYPE is performed.
3536

3637
|
3738
| Any other value can be used by the library for its internal methods

valgrind_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#! /bin/bash
22

3-
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose Release/stack_vm
3+
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose Release/stack_vm $1
44
rm vgcore*

0 commit comments

Comments
 (0)