aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/wmem/wmem_strbuf.c
AgeCommit message (Collapse)AuthorFilesLines
2021-12-12The macro 'va_copy' is C99, use thatJoão Valverde1-1/+1
2021-07-26Remove duplicate format_size() functionJoão Valverde1-0/+9
We have two format_size()s, with and without wmem scoped memory. Move the wmem version to wsutil and add a convenience macro to use g_malloc()ed memory.
2021-07-26Move wmem to wsutilJoão Valverde1-0/+308
This allows wmem to be used from other libraries, namely wsutil. It is often the case that a funtion exists in wsutil and cannot be used with a wmem scope, requiring some code duplication or extra memory allocations, or vice-versa, code in epan cannot be moved to wsutil because it has a wmem dependency. To this end wmem is moved to wsutil. Scope management remains part of epan because those scope semantics are specific to dissection.