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
/
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
void square_init(DOLProcess *);
11
int square_fire(DOLProcess *);
12
13
typedef struct _local_states {
14
char name[10];
15
int index;
16
int len;
17
float i;
18
} Square_State;
19
20
#endif