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

Bug#966328: ITP: tllist -- A C header file only implementation of a typed linked list



Package: wnpp
Severity: wishlist
Owner: Birger Schacht <birger@debian.org>
X-Debbugs-Cc: debian-devel@lists.debian.org, birger@debian.org

* Package name    : tllist
  Version         : 1.0.1
  Upstream Author : Daniel Eklöf
* URL             : https://codeberg.org/dnkl/tllist
* License         : MIT
  Programming Lang: C
  Description     : A C header file only implementation of a typed linked list


Most C implementations of linked list are untyped. That is, their data
carriers are typically void *. This is error prone since your compiler
will not be able to help you correct your mistakes (oh, was it a
pointer-to-a-pointer... I thought it was just a pointer...).

tllist addresses this by using pre-processor macros to implement dynamic
types, where the data carrier is typed to whatever you want; both
primitive data types are supported as well as aggregated ones such as
structs, enums and unions.

This is a build-dependency of foot (#966327).

Reply to: