|
|
|
|
|
by TUSF
958 days ago
|
|
By convention, all Zig libraries have functions that take an allocator as input from the user. Your application can use libgc[1] and pass the allocator to any library function you use, and not worry about deallocating afterwards. [0]: https://github.com/linusg/zig-libgc |
|