Sat Jan 23 13:20:31 CET 2010

Mangled shared object names

One modification I would like to make is to use shared libraries, and
annotate all functions with the number of input arguments.  This can
be done in a straightforward way using something like this in the
generated header files:

#define ex_write ex_1_write

Implemented.  It seems to work fine.

How to list the symbols in a .so file?  Use
dl_iterate_phdr[1]. (GNU_SOURCE).

[1] http://linux.die.net/man/3/dl_iterate_phdr
[2] http://lists.cairographics.org/archives/cairo-commit/2007-April/007935.html