1 /* |
1 /* |
2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. |
2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. |
3 * |
3 * |
4 * Copyright 2015 Olaf Wintermann. All rights reserved. |
4 * Copyright 2016 Olaf Wintermann. All rights reserved. |
5 * |
5 * |
6 * Redistribution and use in source and binary forms, with or without |
6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions are met: |
7 * modification, are permitted provided that the following conditions are met: |
8 * |
8 * |
9 * 1. Redistributions of source code must retain the above copyright |
9 * 1. Redistributions of source code must retain the above copyright |
132 * @return a new UcxAVLTree object |
132 * @return a new UcxAVLTree object |
133 */ |
133 */ |
134 UcxAVLTree *ucx_avl_new_a(cmp_func cmpfunc, UcxAllocator *allocator); |
134 UcxAVLTree *ucx_avl_new_a(cmp_func cmpfunc, UcxAllocator *allocator); |
135 |
135 |
136 /** |
136 /** |
137 * Destroys an UcxAVLTree. |
137 * Destroys a UcxAVLTree. |
138 * @param tree the tree to destroy |
138 * @param tree the tree to destroy |
139 */ |
139 */ |
140 void ucx_avl_free(UcxAVLTree *tree); |
140 void ucx_avl_free(UcxAVLTree *tree); |
141 |
141 |
142 /** |
142 /** |