Nicolas Cannasse <[EMAIL PROTECTED]> (on Tue, 21 Nov 2006 09:39:11 +0100):

  > > vkind k_cptr;
  > > DEFINE_ENTRY_POINT(my_main);
  > > void my_main() {
  > >   k_cptr = kind_import("cptr");
  > >   if( !k_cptr ) {
  > >           DEFINE_KIND(_k_cptr);
  > >           kind_export(_k_cptr,"cptr");
  > >           k_cptr = kind_import("cptr");
  > >   }
  > > }
  > 
  > I don't think it's a very good thing.
  > 
  > All kinds should be exported in the main entry point, and they should be
  > imported in other dlls upon request (not in entry point). This should
  > work well since all NDLLs are supposed to be initialized first before
  > any call is performed (at least in haXe).

ok, thanks nicolas for patiently answering my questions :)

-dan

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

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

Reply via email to