Overwriting insert. Just a wrapper for raxGenericInsert() that will * update the element if there is already one for the same key. */
| 1085 | /* Overwriting insert. Just a wrapper for raxGenericInsert() that will |
| 1086 | * update the element if there is already one for the same key. */ |
| 1087 | int raxInsert(rax *rax, unsigned char *s, size_t len, void *data, void **old) { |
| 1088 | return raxGenericInsert(rax,s,len,data,old,1); |
| 1089 | } |
| 1090 | |
| 1091 | /* Non overwriting insert function: this if an element with the same key |
| 1092 | * exists, the value is not updated and the function returns 0. |
no test coverage detected