the ‘kids don't do this at home’ commit.
authorPierre Habouzit <madcoder@debian.org>
Sat, 2 Dec 2006 22:54:35 +0000 (23:54 +0100)
committerPierre Habouzit <madcoder@debian.org>
Sat, 2 Dec 2006 22:54:35 +0000 (23:54 +0100)
commit38dacbf03fe1a0daa9ce426caaef5582b90006b2
treea46a7b4eeb613cb380ece6d2c260b3341ccbe018
parent27c3007f2cfb52db5a357eaa2a8313a5ab03c93d
the ‘kids don't do this at home’ commit.

replace the unsigned long mutt API used to cast anything into ints pointer
and so on. Add 'anytype' that is a kind of dirty union that, thanks to gcc
__attribute__((transparent_union)) allows silent cast from any type into
that type.

eeeeeeek !

but that makes the code way easier to read !

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
20 files changed:
alias.c
browser.c
compose.c
lib-crypt/crypt-gpgme.c
lib-crypt/pgpinvoke.c
lib-crypt/pgpkey.c
lib-crypt/smime.c
lib-lib/lib-lib.h
lib-mx/compress.c
lib-ui/hdrline.c
lib-ui/sidebar.c
lib-ui/status.c
muttlib.c
nntp/newsrc.c
nntp/nntp.h
protos.h
recvattach.c
recvattach.h
remailer.c
sendlib.c