2025-11-25 23:31:28 +01:00
2026-03-16 23:06:29 +01:00
2025-09-10 17:05:26 +02:00
2026-03-16 23:06:29 +01:00
2025-11-25 23:31:28 +01:00
2025-09-07 22:36:30 +02:00
2025-09-07 22:36:30 +02:00
2026-03-16 23:06:29 +01:00

myclib

A small, personal C library for learning and experimentation.
Not production-ready. Use at your own risk.

Features

Most core containers use internal locks for single-object operations. Cross-object operations can still require caller-side synchronization.

  • Hashmaps
  • Strings
  • Circular queues
  • Vectors
  • Stack
  • Set

Notes

  • Hashmap keys/values are copied as raw bytes (memcpy) using key_size/value_size.
  • For C-string keys, provide a readable key buffer of at least key_size bytes.
  • The set module is basic and intentionally minimal.

Installation

Clone the repo, cd into it and then install it using:

$ meson setup build
$ cd build
$ sudo ninja install

To uninstall, simply run sudo ninja uninstall.

Usage

See the test/ folder for examples.

S
Description
My personal C library (gh mirror)
Readme GPL-3.0 169 KiB
Languages
C 97.3%
Meson 2.7%