print cfunction name in debug print

This commit is contained in:
Yuichi Nishiwaki 2014-03-26 21:24:17 +09:00
parent b7d8a2c724
commit aeaf33ff47
1 changed files with 1 additions and 0 deletions

View File

@ -691,6 +691,7 @@ pic_apply(pic_state *pic, struct pic_proc *proc, pic_value argv)
}
else {
printf(" cfunc = %p\n", (void *)proc->u.func.f);
printf(" name = %s\n", pic_symbol_name(pic, proc->u.func.name));
}
puts("== end\n");
#endif