> Hi Nicolas, List,
> 
> I've reached the point where I now need to import a kind type from an
> existing ndll into a new ndll.  Can you explain how I do this, as the
> info on the neko site isn't that obvious?

Sure,

You first library export the kind :

DEFINE_KIND(k_mine);
DEFINE_ENTRY_POINT(init);
void init() {
        kind_export(k_mine,"mine");
}

Your second one import it :

DEFINE_KIND(k_mine);
DEFINE_ENTRY_POINT(init);
void init() {
    k_mine = kind_import("mine");
}

Nicolas


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

Reply via email to