MCPcopy Create free account
hub / github.com/antirez/rax / raxAddChild

Function raxAddChild

rax.c:256–387  ·  view source on GitHub ↗

Add a new child to the node 'n' representing the character 'c' and return * its new pointer, as well as the child pointer by reference. Additionally * '***parentlink' is populated with the raxNode pointer-to-pointer of where * the new child was stored, which is useful for the caller to replace the * child pointer if it gets reallocated. * * On success the new parent node pointer is returned

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

raxGenericInsertFunction · 0.85

Calls 1

raxNewNodeFunction · 0.85

Tested by

no test coverage detected