Non overwriting insert function: this if an element with the same key * exists, the value is not updated and the function returns 0. * This is a just a wrapper for raxGenericInsert(). */
| 1092 | * exists, the value is not updated and the function returns 0. |
| 1093 | * This is a just a wrapper for raxGenericInsert(). */ |
| 1094 | int raxTryInsert(rax *rax, unsigned char *s, size_t len, void *data, void **old) { |
| 1095 | return raxGenericInsert(rax,s,len,data,old,0); |
| 1096 | } |
| 1097 | |
| 1098 | /* Find a key in the rax, returns raxNotFound special void pointer value |
| 1099 | * if the item was not found, otherwise the value associated with the |
nothing calls this directly
no test coverage detected