lc525 / ldry

Laundry: Don't Repeat Yourself - modular C library of useful macros and functions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ldry - Laundry: do not repeat yourself

A modular C/C++ library implementing well defined pieces of functionality that should only be written once but could be used across lots of projects. Mostly C macros in header-only libraries with no external dependencies and very few dependencies on other headers in ldry.

Currently implemented functionality:

  • function overloading in C
  • string operation macros
  • debug macros
  • mark branches as likely/unlikely
  • bit operation macros
  • importing private kernel symbols macros
  • wrapper for pragmas to stop warnings on selected unused variables

TODOs (lc525): add ring buffer implementation based on the LMAX Disruptor (lc525): add kernel macros for working with per-cpu hashes

About

Laundry: Don't Repeat Yourself - modular C library of useful macros and functions

License:Other


Languages

Language:C++ 39.9%Language:CMake 24.5%Language:C 20.2%Language:Makefile 10.1%Language:Smarty 2.7%Language:Shell 2.4%