diff lwbasic/lwbasic.h @ 23:25a4aef9c5ed

lwbasic: Added basic character input framework
author lost@l-w.ca
date Sat, 22 Jan 2011 21:13:09 -0700
parents 7c35fa8dbc91
children 87590f43e76d
line wrap: on
line diff
--- a/lwbasic/lwbasic.h	Sat Jan 22 21:01:03 2011 -0700
+++ b/lwbasic/lwbasic.h	Sat Jan 22 21:13:09 2011 -0700
@@ -32,6 +32,12 @@
 	char *input_file;
 	
 	int debug_level;
+	
+	void *input_state;
 } cstate;
 
+#ifndef __input_c_seen__
+extern int input_getchar(cstate *state);
+#endif
+
 #endif /* __lwbasic_h_seen__ */