# | Line 22 | Line 22 | typedef struct { | |
---|---|---|
22 | void *mapped; | |
23 | double *mtx; | |
24 | COLOR cexp; | |
25 | + | float wlpart[4]; |
26 | int nrows, ncols; | |
27 | short ncomp; | |
28 | uby8 dtype; | |
29 | uby8 swapin; | |
30 | } RMATRIX; | |
31 | ||
32 | < | #define rmx_lval(rm,r,c,i) (rm)->mtx[(i)+(rm)->ncomp*((c)+(size_t)(rm)->ncols*(r))] |
32 | > | #define rmx_lval(rm,r,c) ((rm)->mtx + (rm)->ncomp*((c)+(size_t)(rm)->ncols*(r))) |
33 | ||
34 | /* Initialize a RMATRIX struct but don't allocate array space */ | |
35 | extern RMATRIX *rmx_new(int nr, int nc, int n); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |