projects
/
imager.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
minor error handling in bmp.c
[imager.git]
/
stackmach.h
1
#ifndef _STACKMACH_H_
2
#define _STACKMACH_H_
3
4
#include <stdio.h>
5
#include <math.h>
6
7
enum ByteCodes {
8
bcAdd,
9
bcSubtract,
10
bcMult,
11
bcDiv,
12
bcParm,
13
bcSin,
14
bcCos
15
};
16
17
double op_run(int codes[], size_t code_size, double parms[], size_t parm_size);
18
19
/* op_run(fx, sizeof(fx), parms, 2)) */
20
21
22
23
24
25
#endif /* _STACKMACH_H_ */