diff runtime/context.c @ 186:ba35ab624ec2

Add support for raw C function output from C backend as well as an option to use Boehm-GC instead of reference counting
author Mike Pavone <pavone@retrodev.com>
date Fri, 07 Oct 2011 00:10:02 -0700
parents 7bbdc034e347
children
line wrap: on
line diff
--- a/runtime/context.c	Wed Jul 27 21:32:40 2011 -0700
+++ b/runtime/context.c	Fri Oct 07 00:10:02 2011 -0700
@@ -5,6 +5,8 @@
 #include <stddef.h>
 #include <stdio.h>
 
+#ifndef RAW_FUNC
+
 context * contextqueue[32];
 int32_t cq_readloc=0;
 int32_t cq_writeloc=0;
@@ -126,4 +128,5 @@
 	if(ct->current_stack->free_space == ct->current_stack->data && ct->current_stack->prev)
 		ct->current_stack = ct->current_stack->prev;
 }
+#endif