efl/legacy/eina/src
Gustavo Sverzut Barbieri e4af7c100c EINA API BREAK: no more individual modules init/shutdown.
Being able to indivually initialize individual modules was initially
"good", but at end it's putting complexities on users that would try
to "optimize" by doing just what they used, but in the end most people
would get them wrong, users would have to do lots of code and etc. At
the end it does not worth.

Most module init just register handful errors and log domains, so are
cheap. The exception is mempool users, that would dlopen() stuff, but
people that are concerned (embedded) can just compile those statically
in eina.

Since at the end any real application would use most of modules, we
actually end saving lots of function calls that would do nothing other
than increment a global counter.

I also did the init/shutdown use an array, making it easier to
maintain. The inital dependencies were analysed by a script I wrote, I
hope it's all right.

Please fix any breakages you find!



SVN revision: 42300
2009-09-06 22:21:56 +00:00
..
include EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
lib EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
modules eina_log uses pthreads now (if enabled), so link libeina against pthread 2009-09-04 16:25:18 +00:00
tests EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
.cvsignore Add .cvsignore. 2008-07-30 13:09:03 +00:00
Makefile.am Patch from Vincent Torri that cleanup tests, coverage and benchmark. 2008-09-29 14:35:28 +00:00