Get the node auxiliary data. */
| 237 | |
| 238 | /* Get the node auxiliary data. */ |
| 239 | void *raxGetData(raxNode *n) { |
| 240 | if (n->isnull) return NULL; |
| 241 | void **ndata =(void**)((char*)n+raxNodeCurrentLength(n)-sizeof(void*)); |
| 242 | void *data; |
| 243 | memcpy(&data,ndata,sizeof(data)); |
| 244 | return data; |
| 245 | } |
| 246 | |
| 247 | /* Add a new child to the node 'n' representing the character 'c' and return |
| 248 | * its new pointer, as well as the child pointer by reference. Additionally |
no outgoing calls
no test coverage detected