A personal library of custom C header files to provide misc functionality and make working with cstdlib functions less painful for myself.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
ICScaryThings 8b66e3618b add basic associative map structure 2 months ago
include add basic associative map structure 2 months ago
test Add cdatalist structure similar to cdequeue, but only supporting individual items per buffer 5 months ago
.gitignore Initial commit 1 year ago
LICENSE Initial commit 1 year ago
Makefile just commit the flags in the makefile 8 months ago
README.md Add jsmnx_deep_find to jsmnx for dealing with nested json members more cleanly 1 year ago

README.md

c-header-libs

A collection of useful header only libraries I originally made for my personal use. I intend to only use stdlib and POSIX C functions here to avoid any linking dependencies.

JSMNX include/jsmnx/jsmnx.h

JSMN is an ultra light C header only JSON parser. It is capable of running extremely fast if used correctly, but often shows poorer results in benchmarks because they don't know how to call it correctly. What I am calling jsmnx are just my wrapper functions for using it 'correctly' and making it easier to do things with jsmn.h.

SimpleString include/simplestring/simplestring.h

A w.i.p. header library to make dealing with strings in C '''safer''' and less error prone by wrapping C standard functions and other means. I don't know if I will actually complete it though because it quickly became a pain in the ass.

TODO

I plan to add:

  • Argument parser
  • Binary data file format for variable type and fixed (table columns like) data