]> git.imager.perl.org - imager.git/blob - stackmach.h
update img16.c to avoid mm_log()
[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 i_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_ */