Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

sack

Simple single header pure C89 library to take care of freeing many pieces of memory at once using free plus some small convenience functions around it.

Written mainly for potential use with my small C utilities. You can find them on my GitHub and arranged in a list here: here.

Named "sack" to invoke the image of putting all your buffers in a sack, tying it up and throwing it into the lake to dispose of it.

To use #include "sack.h" and in a single source file that gets compiled include it after doing #define SACK_IMPLEMENTATION to place implementations in that file.

About

Simple C structure to keep track of and free many pointers at once.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages