diff options
author | Martin Ashby <martin@ashbysoft.com> | 2023-11-11 20:47:46 +0000 |
---|---|---|
committer | Martin Ashby <martin@ashbysoft.com> | 2023-11-11 20:47:46 +0000 |
commit | e92459156c2f74de648566ca7acde3833de33425 (patch) | |
tree | 59d0bb42d23db0d295a0ef0a97e31e71b8f592cd /build.zig | |
parent | dff4234bf2d957a0328ff4f3dc4f9bba1fbeffd4 (diff) | |
download | zbt-e92459156c2f74de648566ca7acde3833de33425.tar.gz zbt-e92459156c2f74de648566ca7acde3833de33425.tar.bz2 zbt-e92459156c2f74de648566ca7acde3833de33425.tar.xz zbt-e92459156c2f74de648566ca7acde3833de33425.zip |
Include ownership info on BValue.
It's a bit cumbersome, but it caters for the two situations: a. parsing
from a stream where strings must be copied into the structure and owned,
and b. constructing from application code where strings must _not_ be
freed. Either way, the base structures (array list, hash map) are always
owned and must be freed.
Add method and test for info hash
Diffstat (limited to 'build.zig')
0 files changed, 0 insertions, 0 deletions