Added C header and printing demo.
[libmalice.git] / libmalice.h
diff --git a/libmalice.h b/libmalice.h
new file mode 100644 (file)
index 0000000..b8715dc
--- /dev/null
@@ -0,0 +1,16 @@
+#ifndef _LIBMALICE_H_
+#define _LIBMALICE_H_
+
+void _lmStart(void);
+int lmMain(void);
+
+void lmExit(int exitstatus);
+
+void lmPrintChar(int chr);
+void lmPrintString(char *string);
+void lmPrintInt32s(int num);
+
+int lmReadChar(void);
+int lmReadInt32s(void);
+
+#endif