[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#995695: ITP: rinutils -- A C11 utilities header library



Package: wnpp
Severity: wishlist
Owner: Shlomi Fish <shlomif@gmail.com>
Control: block -1 by 993764

* Package name    : rinutils
  Version         : 0.10.0
  Upstream Author : Shlomi Fish
* URL             : https://github.com/shlomif/rinutils
* License         : Expat
  Programming Lang: C
  Description     : A C11 utilities header library

This is a set of C headers containing macros and static functions that are expected to work on Unix-like systems and MS Windows that have been extracted from Shlomi Fish´s projects.

They include:

    sizeof-aware wrappers for malloc()/realloc()

    COUNT() and LAST() macros.

    DLLEXPORT symbols-modifiers.

    likely() and unlikely() CPU branch-prediction hints (see Stack Overflow question).

    long long sprintf()-formats

    min() and max()

    rinutils/portable_time.h for cross-platform time querying.

    Some string utilities as inline functions.

    typeof_wrap.h for C++-"auto"-like macros.

    GCC_UNUSED for silencing warnings.

    rinutils/rin_cmocka.h for reducing cmocka’s boilerplate.


Reply to: