58 #define hit_gcTileDomainShape(newVarP, baseType, shape, allocOpts) \
59 hit_gcTileDomainShapeInternal(newVarP, sizeof(baseType), shape, allocOpts)
77 #define hit_gcTileAlloc(var) hit_gcTileAllocInternal(var, #var, __FILE__, __LINE__)
99 #define hit_gcTileDomainShapeAlloc(var, baseType, shape, allocOpts) \
100 hit_gcTileDomainShapeInternal(var, sizeof(baseType), shape, allocOpts); \
101 hit_gcTileAllocInternal(var, #var, __FILE__, __LINE__);
131 if(dst == local2)
return edge;
157 #define hit_gcTileVertexAt(var, vertex) ((var).dataVertices[vertex])
167 #define hit_gcTileEdgeAt(var, pos1, pos2) ((var).data[hit_gcTileEdgeAtIndex(&(var),(pos1),(pos2))])
176 #define hit_gcTileGraphVertexAt(var, vertex) ((var).dataVertices[hit_gcTileGraphVertexAtIndex(&(var),(vertex))])
186 #define hit_gcTileGraphEdgeAt(var, pos1, pos2) ((var).data[hit_gcTileGraphEdgeAtIndex(&(var),(pos1),(pos2))])
197 #define hit_gcTileVerticesCopy(dstTileP,srcTileP) hit_gcTileCopyVerticesInternal(dstTileP,srcTileP,1)
220 #define hit_gcTileEdgeIteratorAt(var, vertex, edge_index) ((var).data[edge_index])
void hit_gcTileCopyVertices(void *destP, void *srcP)
#define hit_cShapeEdgeTarget(s, edge)
void hit_gcTileAllocInternal(void *newVarP, const char *name, const char *file, int numLine)
int hit_gcTileGraphVertexAtIndex(void *varP, int vertex)
#define hit_cShapeEdgeIterator(var, shape, vertex)
void hit_gcTileClearVertices(void *varP)
void hit_gcTileCopyVerticesInternal(void *dstTileP, void *srcTileP, int clear)
void hit_gcTileDomainShapeInternal(void *newVarP, size_t baseExtent, HitShape shape, int allocOpts)
static int hit_gcTileEdgeAtIndex(void *varP, int local1, int local2)
#define hit_tileShape(var)
int hit_gcTileGraphEdgeAtIndex(void *varP, int pos1, int pos2)