dol: initial dol commit
[jump.git] / dol / examples / example2 / src / square.h
1 #ifndef SQUARE_H
2 #define SQUARE_H
3
4 #include <dol.h>
5 #include "global.h"
6
7 #define PORT_IN  0
8 #define PORT_OUT 1
9
10 typedef struct _local_states {
11     int index;
12     int len;
13 } Square_State;
14
15 void square_init(DOLProcess *);
16 int square_fire(DOLProcess *);
17
18 #endif