mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-27 07:41:28 -08:00
(print_object): Print Lisp_Misc_Save_Value objects.
This commit is contained in:
parent
a849088643
commit
c069fee4e7
1 changed files with 9 additions and 0 deletions
|
|
@ -2085,6 +2085,15 @@ print_object (obj, printcharfun, escapeflag)
|
|||
PRINTCHAR ('>');
|
||||
break;
|
||||
|
||||
case Lisp_Misc_Save_Value:
|
||||
strout ("#<save_value ", -1, -1, printcharfun, 0);
|
||||
sprintf(buf, "ptr=0x%08x int=%d",
|
||||
(unsigned long) XSAVE_VALUE (obj)->pointer,
|
||||
XSAVE_VALUE (obj)->integer);
|
||||
strout (buf, -1, -1, printcharfun, 0);
|
||||
PRINTCHAR ('>');
|
||||
break;
|
||||
|
||||
default:
|
||||
goto badtype;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue