MCPcopy Index your code
hub / github.com/MapServer/MapServer / treeNodeCreate

Function treeNodeCreate

maptree.c:69–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69static treeNodeObj *treeNodeCreate(rectObj rect)
70{
71 treeNodeObj *node;
72
73 node = (treeNodeObj *) msSmallMalloc(sizeof(treeNodeObj));
74
75 node->numshapes = 0;
76 node->ids = NULL;
77
78 node->numsubnodes = 0;
79
80 memcpy(&(node->rect), &(rect), sizeof(rectObj));
81
82 return node;
83}
84
85
86SHPTreeHandle msSHPDiskTreeOpen(const char * pszTree, int debug)

Callers 2

msCreateTreeFunction · 0.85
treeNodeAddShapeIdFunction · 0.85

Calls 1

msSmallMallocFunction · 0.85

Tested by

no test coverage detected