mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-23 12:00:21 +02:00
Add stringbuf printer
* libguile/strings.h: * libguile/strings.c (scm_i_print_stringbuf): * libguile/print.c (iprin1): Add a printer for stringbufs. The disassembler can print a stringbuf.
This commit is contained in:
parent
0f676d8725
commit
db07176665
3 changed files with 22 additions and 0 deletions
|
@ -609,6 +609,9 @@ iprin1 (SCM exp, SCM port, scm_print_state *pstate)
|
|||
break;
|
||||
}
|
||||
break;
|
||||
case scm_tc7_stringbuf:
|
||||
scm_i_print_stringbuf (exp, port, pstate);
|
||||
break;
|
||||
case scm_tc7_string:
|
||||
if (SCM_WRITINGP (pstate))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue