Overwriting insert. Just a wrapper for raxGenericInsert() that will * update the element if there is already one for the same key. */
| 902 | /* Overwriting insert. Just a wrapper for raxGenericInsert() that will |
| 903 | * update the element if there is already one for the same key. */ |
| 904 | int raxInsert(rax *rax, unsigned char *s, size_t len, void *data, void **old) { |
| 905 | return raxGenericInsert(rax,s,len,data,old,1); |
| 906 | } |
| 907 | |
| 908 | /* Non overwriting insert function: this if an element with the same key |
| 909 | * exists, the value is not updated and the function returns 0. |
no test coverage detected