| 54 | } |
| 55 | |
| 56 | static xode _xode_appendsibling(xode lastsibling, const char* name, unsigned int type) |
| 57 | { |
| 58 | xode result; |
| 59 | |
| 60 | result = _xode_new(xode_get_pool(lastsibling), name, type); |
| 61 | if (result != NULL) |
| 62 | { |
| 63 | /* Setup sibling pointers */ |
| 64 | result->prev = lastsibling; |
| 65 | lastsibling->next = result; |
| 66 | } |
| 67 | return result; |
| 68 | } |
| 69 | |
| 70 | static xode _xode_insert(xode parent, const char* name, unsigned int type) |
| 71 | { |
no test coverage detected