Simple collections library
Add sc_cb_memcpy and release v0.8.0
Add sc_list_len
fix sc_arr insert/remove bugs



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


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.


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