tests/test_tree.c

changeset 1180
4c3a69b9723a
parent 993
b642eca4b956
equal deleted inserted replaced
1179:ca4c6f590a08 1180:4c3a69b9723a
54 const char *path; 54 const char *path;
55 } tree_node_file; 55 } tree_node_file;
56 56
57 static void *tree_node_file_create( 57 static void *tree_node_file_create(
58 const void *dptr, 58 const void *dptr,
59 void *allocator) { 59 const void *allocator) {
60 if (allocator == NULL) allocator = cxDefaultAllocator; 60 if (allocator == NULL) allocator = cxDefaultAllocator;
61 61
62 tree_node_file *node = cxMalloc(allocator, sizeof(tree_node_file)); 62 tree_node_file *node = cxMalloc(allocator, sizeof(tree_node_file));
63 node->path = dptr; 63 node->path = dptr;
64 64

mercurial