~brenns10/sc-collections

Simple collections library
Run pre-commit on all files
Update files from sc-template

clone

read-only
https://git.sr.ht/~brenns10/sc-collections
read/write
git@git.sr.ht:~brenns10/sc-collections

You can also use your local clone with git send-email.

#sc-collections

This is a simple C library containing some useful data structures:

  • A Linux kernel style linked list implementation
  • A versatile hash table implementation, with associated iterator/generator
  • A character buffer abstraction (similar to Java's StringBuilder)

This library is part of the "sc-" (Stephen's C) family of libraries. Each library is intended to be small and modular, built using the Meson build system for easy dependency management. For full examples of the use of this and other "sc-" libraries, see the sc-examples repository.

#Development

Run the following to create a build directory:

meson build

You may then compile (or re-compile) with:

ninja -C build

When you would like to commit your changes, please ensure that you have pre-commit hooks installed, so that automated checks can run on your code:

pre-commit install