dol: initial dol commit
[jump.git] / dol / examples / example1 / src / quicksort.h
1 #ifndef QUICKSORT_H
2 #define QUICKSORT_H
3
4 #include <dol.h>
5 #include "global.h"
6
7 #define PORT_IN1 1
8 #define PORT_IN2 2
9 #define PORT_OUT1 3
10 #define PORT_OUT2 4
11
12 typedef struct _local_states {
13     int index;
14     int * arr1;
15     int * arr2;
16 } Quicksort_State;
17
18 void quicksort_init(DOLProcess *);
19 int quicksort_fire(DOLProcess *);
20
21 #endif