X-Git-Url: http://sraa.de/git/?a=blobdiff_plain;f=dol%2Fexamples%2Fexample1%2Fsrc%2Fprintarray.h;fp=dol%2Fexamples%2Fexample1%2Fsrc%2Fprintarray.h;h=59e818c8d869e0998b791e55a729a816a17c6e55;hb=8c411cf24ed0eb889191aaeafd8fa1e69081df42;hp=0000000000000000000000000000000000000000;hpb=dea7a4fb1ed110d3ce6e6d9255103d724bd66c0e;p=jump.git diff --git a/dol/examples/example1/src/printarray.h b/dol/examples/example1/src/printarray.h new file mode 100644 index 0000000..59e818c --- /dev/null +++ b/dol/examples/example1/src/printarray.h @@ -0,0 +1,17 @@ +#ifndef PRINTARRAY_H +#define PRINTARRAY_H + +#include +#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