51300a3f27d4758d0c02678a426d1014b1429245
[swftools.git] / lib / gfxpoly / xrow.h
1 #ifndef __xrow_h__
2 #define __xrow_h__
3
4 #include <stdint.h>
5
6 typedef struct _xrow {
7     int32_t*x;
8     int num;
9     int size;
10     int32_t lastx;
11 } xrow_t;
12
13 xrow_t* xrow_new();
14 void xrow_add(xrow_t*xrow, int32_t x);
15 void xrow_sort(xrow_t*xrow);
16 void xrow_dump(xrow_t*xrow);
17 void xrow_reset(xrow_t*xrow);
18 void xrow_destroy(xrow_t*xrow);
19
20 #endif