avoid a possible sign-extension for offsets/sizes in SGI
[imager.git] / stackmach.h
CommitLineData
02d1d628
AMH
1#ifndef _STACKMACH_H_
2#define _STACKMACH_H_
3
4#include <stdio.h>
5#include <math.h>
6
7enum ByteCodes {
8 bcAdd,
9 bcSubtract,
10 bcMult,
11 bcDiv,
12 bcParm,
13 bcSin,
14 bcCos
15};
16
b33c08f8 17double i_op_run(int codes[], size_t code_size, double parms[], size_t parm_size);
02d1d628
AMH
18
19/* op_run(fx, sizeof(fx), parms, 2)) */
20
21
22
23
24
25#endif /* _STACKMACH_H_ */