mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
update src/PikaObj.c.
Signed-off-by: 李昂 <liang6516@outlook.com>
This commit is contained in:
parent
efa05822a4
commit
20191b02fc
@ -1804,10 +1804,9 @@ uint32_t pikaGC_printFreeList(void) {
|
||||
}
|
||||
|
||||
void obj_dump(PikaObj* self) {
|
||||
#if !PIKA_KERNAL_DEBUG_ENABLE
|
||||
return;
|
||||
#else
|
||||
#if PIKA_KERNAL_DEBUG_ENABLE
|
||||
pika_platform_printf("[\033[32m%s\033[0m]", self->name);
|
||||
#else
|
||||
pika_platform_printf(" \033[36m@%p\033[0m", self);
|
||||
pika_platform_printf("\r\n");
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user