27 #define extern __declspec(dllexport)
36 #define extern __declspec(dllimport)
41 extern PointSet *
newPS(
void);
42 extern void freePS(PointSet *);
44 extern void addPS(PointSet *,
int,
int);
46 extern int isInPS(PointSet *,
int,
int);
47 extern int sizeOf(PointSet *);
50 extern PointMap *
newPM(
void);
51 extern void clearPM(PointMap *);
52 extern void freePM(PointMap *);
53 extern int insertPM(PointMap *,
int,
int,
int);
54 extern int updatePM(PointMap * pm,
int x,
int y,
int v);
void freePS(PointSet *ps)
void insertPS(PointSet *ps, point pt)
int insertPM(PointMap *pm, int x, int y, int v)
int updatePM(PointMap *pm, int x, int y, int v)
int isInPS(PointSet *ps, int x, int y)
point * pointsOf(PointSet *ps)
void clearPM(PointMap *ps)
void addPS(PointSet *ps, int x, int y)
void freePM(PointMap *ps)
int inPS(PointSet *ps, point pt)