projects
/
jump.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
square: DOL squaring example (shown in live demo)
[jump.git]
/
dol
/
examples
/
examplecell
/
src
/
consumer.h
1
#ifndef CONSUMER_H
2
#define CONSUMER_H
3
4
#include <dol.h>
5
#include "global.h"
6
7
#define PORT_IN 100
8
9
void consumer_init(DOLProcess *);
10
int consumer_fire(DOLProcess *);
11
12
typedef struct _local_states {
13
char name[10];
14
int index;
15
int len;
16
float c;
17
} Consumer_State;
18
19
#endif