25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
26 * POSSIBILITY OF SUCH DAMAGE. |
26 * POSSIBILITY OF SUCH DAMAGE. |
27 */ |
27 */ |
28 |
28 |
29 #include "cx/tree.h" |
29 #include "cx/tree.h" |
|
30 #include "cx/linked_list.h" |
30 |
31 |
31 #define CX_TR_PTR(cur, off) ((void**)(((char*)cur)+off)) |
32 #define CX_TR_PTR(cur, off) ((void**)(((char*)cur)+off)) |
32 |
33 |
33 void* cx_tree_last(void *node, ptrdiff_t loc_next) { |
34 void* cx_tree_last(void *node, ptrdiff_t loc_next) { |
34 void *last; |
35 void *last; |