diff options
author | Frederic Peters <fpeters@entrouvert.com> | 2004-12-04 13:37:53 +0000 |
---|---|---|
committer | Frederic Peters <fpeters@entrouvert.com> | 2004-12-04 13:37:53 +0000 |
commit | a922e139d7c5085eea4ea604b0f4efb3b1d17a8b (patch) | |
tree | 14af0f20229b68e1ecc7134ae7650d6e54c12933 /lasso/lasso.c | |
parent | 97016b1c90eccb068d2e21b05641bc9ad7bec2f9 (diff) | |
download | lasso-a922e139d7c5085eea4ea604b0f4efb3b1d17a8b.tar.gz lasso-a922e139d7c5085eea4ea604b0f4efb3b1d17a8b.tar.xz lasso-a922e139d7c5085eea4ea604b0f4efb3b1d17a8b.zip |
added types (classes) extraction on build and registration in lasso_init
Diffstat (limited to 'lasso/lasso.c')
-rw-r--r-- | lasso/lasso.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lasso/lasso.c b/lasso/lasso.c index 5419c0eb..fa6ff4ee 100644 --- a/lasso/lasso.c +++ b/lasso/lasso.c @@ -55,6 +55,9 @@ DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) } #endif + +#include "types.c" + /** * lasso_init: * @@ -64,8 +67,14 @@ DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) */ int lasso_init() { + int i; + g_type_init(); + /* Init Lasso classes */ + for (i=0; functions[i]; i++) + functions[i](); + /* Init libxml and libxslt libraries */ xmlInitParser(); /*LIBXML_TEST_VERSION*/ |