src: add typesafe intrusive list
authorBen Noordhuis <info@bnoordhuis.nl>
Fri, 30 Jan 2015 11:54:28 +0000 (12:54 +0100)
committerBen Noordhuis <info@bnoordhuis.nl>
Wed, 11 Feb 2015 22:06:29 +0000 (23:06 +0100)
commit58eb00c6936ac1a01663b2c363fb493a5e0c00a4
tree86b0e0eb9f762e15a9e4701fddf4afbaf7d47b15
parent7061669dba26337e47e258385dd58e400881dff1
src: add typesafe intrusive list

This is a replacement for the QUEUE macros.  It implements the same
functionality but in a way that lets the compiler typecheck it.

PR-URL: https://github.com/iojs/io.js/pull/667
Reviewed-By: Bert Belder <bertbelder@gmail.com>
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
src/util-inl.h
src/util.h