summaryrefslogtreecommitdiff
path: root/src/scheme/ao_scheme.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/scheme/ao_scheme.h')
-rw-r--r--src/scheme/ao_scheme.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/scheme/ao_scheme.h b/src/scheme/ao_scheme.h
index 48d0149b..cc7f8f1d 100644
--- a/src/scheme/ao_scheme.h
+++ b/src/scheme/ao_scheme.h
@@ -555,6 +555,21 @@ ao_scheme_move_memory(const struct ao_scheme_type *type, void **ref);
void *
ao_scheme_alloc(int size);
+/* Marks an object as being printed, returns 1 if it was already marked */
+int
+ao_scheme_print_mark_addr(void *addr);
+
+int
+ao_scheme_print_mark_poly(ao_poly poly);
+
+/* Notes that printing has started */
+void
+ao_scheme_print_start(void);
+
+/* Notes that printing has ended */
+void
+ao_scheme_print_stop(void);
+
#define AO_SCHEME_COLLECT_FULL 1
#define AO_SCHEME_COLLECT_INCREMENTAL 0