Edwin van Rijkom <[EMAIL PROTECTED]> (on Wed, 15 Nov 2006 19:21:19 +0100):

  > On Windows, there's DllMain for dynamic link libraries that will be 
  > invoked automatically if present, by the OS. If there is an equivalent 
  > mechanism on Linux, it might be nicer to initialize GTK there, instead 
  > of using a manual call?

Well, no, it seems there isnt. I found a way to do it for ELF using some 
assembly hacks, but that smells very non-portable:
        http://www.flipcode.com/cgi-bin/fcarticles.cgi?show=63896

nicolas, is there (or maybe, could there be) a neko-specific "ndll entry 
point", or could the $exports variable be (mis-)used for this purpose?

-dan

-- 
http://0xDF.com/
http://iterative.org/

-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to