salad: introduce group alloc
gpr_alloc is a small library that is designed for simplification of allocation of several objects in one memory block. It could be anything, but special attention is given to string objects, that are arrays of chars. Typical usage consist of two phases: gathering total needed size of memory block and creation of objects in given block. NO_DOC=refactoring NO_CHANGELOG=refactoring
Showing
- src/lib/salad/grp_alloc.h 138 additions, 0 deletionssrc/lib/salad/grp_alloc.h
- test/unit/CMakeLists.txt 3 additions, 0 deletionstest/unit/CMakeLists.txt
- test/unit/grp_alloc.c 95 additions, 0 deletionstest/unit/grp_alloc.c
- test/unit/grp_alloc.result 52 additions, 0 deletionstest/unit/grp_alloc.result
Loading
Please register or sign in to comment