| 61 const CxAllocator *a = sn->mp->allocator; |
61 const CxAllocator *a = sn->mp->allocator; |
| 62 |
62 |
| 63 ConvXmlElm ce; |
63 ConvXmlElm ce; |
| 64 ce.node = node; |
64 ce.node = node; |
| 65 ce.parent = NULL; |
65 ce.parent = NULL; |
| 66 CxList *stack = cxLinkedListCreate(cxDefaultAllocator, NULL, sizeof(ConvXmlElm)); |
66 CxList *stack = cxLinkedListCreate(cxDefaultAllocator, sizeof(ConvXmlElm)); |
| 67 if(!stack) { |
67 if(!stack) { |
| 68 return NULL; |
68 return NULL; |
| 69 } |
69 } |
| 70 cxListInsert(stack, 0, &ce); |
70 cxListInsert(stack, 0, &ce); |
| 71 |
71 |