Open rscharfe opened 6 years ago
Add a function for releasing only the internal memory of the khash structure, but not the structure itself. This allows keeping that struct on the stack instead of allocating it using khinit*.
Needs a kh_release() macro added, otherwise a great addition
kh_release()
kh_release() added, patch amended.
Add a function for releasing only the internal memory of the khash structure, but not the structure itself. This allows keeping that struct on the stack instead of allocating it using khinit*.