mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-15 13:52:16 -08:00
Weak pointers can now be printed.
This commit is contained in:
parent
4a3349a9f2
commit
00a5b33e01
1 changed files with 6 additions and 0 deletions
|
|
@ -1580,6 +1580,12 @@ si_write_ugly_object(cl_object x, cl_object stream)
|
|||
write_addr((void*)x->frame.base, stream);
|
||||
write_ch('>', stream);
|
||||
break;
|
||||
case t_weak_pointer:
|
||||
if (ecl_print_readably()) FEprint_not_readable(x);
|
||||
write_str("#<weak-pointer ", stream);
|
||||
write_addr(x, stream);
|
||||
write_ch('>', stream);
|
||||
break;
|
||||
#ifdef ECL_THREADS
|
||||
case t_process:
|
||||
if (ecl_print_readably()) FEprint_not_readable(x);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue