summaryrefslogtreecommitdiff
path: root/lib/bufref.c
Commit message (Collapse)AuthorAgeFilesLines
* bufref: buffer reference supportPatrick Monnerat2021-04-221-0/+127
A struct bufref holds a buffer pointer, a data size and a destructor. When freed or its contents are changed, the previous buffer is implicitly released by the associated destructor. The data size, although not used internally, allows binary data support. A unit test checks its handling methods: test 1661 Closes #6654