On Thu, 29 Jul 2010 13:46:46 -0700, Monty Taylor <[email protected]> wrote:
> I did not do anything with restructuring in this way. I'd put a flag
> around it ( like if (wsa_initted) ) though rather than a library init
> function ... if we can avoid requiring library users needing to call
> "drizzle_lib_init" I'd really like to.

You may be able to do a constructor for the library that's automatically
called on the equiv of dlopen()

(I do this in libeatmydata for example)

-- 
Stewart Smith

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to