dol: initial dol commit
[jump.git] / dol / examples / example1 / src / printarray.h
diff --git a/dol/examples/example1/src/printarray.h b/dol/examples/example1/src/printarray.h
new file mode 100644 (file)
index 0000000..59e818c
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef PRINTARRAY_H
+#define PRINTARRAY_H
+
+#include <dol.h>
+#include "global.h"
+
+#define PORT_IN1 1
+#define PORT_IN2 2
+
+typedef struct _local_states {
+    int index;
+} Printarray_State;
+
+void printarray_init(DOLProcess *);
+int printarray_fire(DOLProcess *);
+
+#endif