projects
/
jump.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
dol: create target object folders when generating
[jump.git]
/
dol
/
examples
/
exampleproducerconsumer
/
src
/
consumer.h
1
#ifndef CONSUMER_H
2
#define CONSUMER_H
3
4
#include <dol.h>
5
6
#define PORT_INA "A"
7
#define PORT_INB "B"
8
9
typedef struct _local_states {
10
char name[10];
11
} Consumer_State;
12
13
void consumer_init(DOLProcess *);
14
int consumer_fire(DOLProcess *);
15
16
#endif