summaryrefslogtreecommitdiff
path: root/libguile/print.h
diff options
context:
space:
mode:
authorMarius Vollmer <mvo@zagadka.de>2005-01-07 15:47:47 +0000
committerMarius Vollmer <mvo@zagadka.de>2005-01-07 15:47:47 +0000
commit509759dd31cfb085c725276679e51b6344556bbe (patch)
treefd01fe3dfcb11c14909dcc1e728beb3023c7eb8f /libguile/print.h
parent6e433d8b8fdb1fe790c086791387f75cae3cdd3d (diff)
downloadguile-509759dd31cfb085c725276679e51b6344556bbe.tar.gz
(scm_print_state, SCM_PRINT_STATE_LAYOUT):
Removed ref_stack field. (PSTATE_STACK_REF, PSTATE_STACK_SET): New, for accessing the stack of a print state. Use them everywhere instead of ref_stack.
Diffstat (limited to 'libguile/print.h')
-rw-r--r--libguile/print.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libguile/print.h b/libguile/print.h
index 21d1055bf..038e75f43 100644
--- a/libguile/print.h
+++ b/libguile/print.h
@@ -57,7 +57,7 @@ do { \
#define SCM_COERCE_OUTPORT(p) \
(SCM_PORT_WITH_PS_P (p) ? SCM_PORT_WITH_PS_PORT (p) : p)
-#define SCM_PRINT_STATE_LAYOUT "sruwuwuwuwuwpwuwuwuruoprpw"
+#define SCM_PRINT_STATE_LAYOUT "sruwuwuwuwuwpwuwuwurprpw"
typedef struct scm_print_state {
SCM handle; /* Struct handle */
int revealed; /* Has the state escaped to Scheme? */
@@ -69,9 +69,9 @@ typedef struct scm_print_state {
unsigned long list_offset;
unsigned long top; /* Top of reference stack */
unsigned long ceiling; /* Max size of reference stack */
- SCM *ref_stack; /* Stack of references used during
- circular reference detection */
- SCM ref_vect;
+ SCM ref_vect; /* Stack of references used during
+ circular reference detection;
+ a simple vector. */
SCM highlight_objects; /* List of objects to be highlighted */
} scm_print_state;