dol: initial dol commit
[jump.git] / dol / examples / example1 / src / arraygen.h
diff --git a/dol/examples/example1/src/arraygen.h b/dol/examples/example1/src/arraygen.h
new file mode 100644 (file)
index 0000000..12a285f
--- /dev/null
@@ -0,0 +1,18 @@
+#ifndef ARRAYGEN_H
+#define ARRAYGEN_H
+
+#include <dol.h>
+#include "global.h"
+
+#define  PORT_OUT1 1
+#define  PORT_OUT2 2
+
+
+typedef struct _local_states {
+    int index;
+} Arraygen_State;
+
+void arraygen_init(DOLProcess *);
+int arraygen_fire(DOLProcess *);
+
+#endif