This commit is contained in:
Valk Richard Li
2020-11-30 23:54:32 +08:00
parent fce34c12b3
commit f336e5c3ae
6 changed files with 116 additions and 120 deletions
+11
View File
@@ -1,6 +1,17 @@
#ifndef __NASAL_GC_H__
#define __NASAL_GC_H__
enum runtime_scalar_type
{
vm_nil=0,
vm_number,
vm_string,
vm_closure,
vm_function,
vm_vector,
vm_hash
};
#define MEM_BLK_SIZE 256 // 0x00 ~ 0xff
#define GC_BLK_SIZE 256 // 0x00 ~ 0xff
/*