1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-24 12:20:20 +02:00

* smob.c (scm_smob_print): Handle non-existing type name nicely.

Removed #include "genio.h"
This commit is contained in:
Mikael Djurfeldt 1999-07-24 23:10:27 +00:00
parent f12733c9d4
commit 2c16a78a11
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,6 @@
#include "_scm.h"
#include "objects.h"
#include "genio.h"
#ifdef HAVE_MALLOC_H
#include <malloc.h>
@ -114,7 +113,7 @@ scm_smob_print (SCM exp, SCM port, scm_print_state *pstate)
{
int n = SCM_SMOBNUM (exp);
scm_puts ("#<", port);
scm_puts (SCM_SMOBNAME (n), port);
scm_puts (SCM_SMOBNAME (n) ? SCM_SMOBNAME (n) : "smob", port);
scm_putc (' ', port);
scm_intprint (scm_smobs[n].size ? SCM_CDR (exp) : exp, 16, port);
scm_putc ('>', port);