add object creation debug flag to picconf
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#define DEBUG 1
|
||||
|
||||
#if DEBUG
|
||||
# define OBJECT_CREATION_DEBUG 1
|
||||
# define GC_DEBUG 1
|
||||
# define VM_DEBUG 1
|
||||
#endif
|
||||
|
||||
+3
-1
@@ -38,7 +38,9 @@ main()
|
||||
|
||||
pic = pic_open();
|
||||
|
||||
//test_object_creation(pic);
|
||||
#if OBJECT_CREATION_DEBUG
|
||||
test_object_creation(pic);
|
||||
#endif
|
||||
|
||||
ai = pic_gc_arena_preserve(pic);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user