Hi Nicolas,

 

Right, I think I’ve mastered accessing C functions from Neko / haXe, but I’m still fuzzy on accessing Neko / haXe functions from C.  I’m guessing the callback method calls Neko functions from passed objects with functions attached?  I’m also guessing that the Neko VM will have to be embedded if I am to call a Neko function directly?  I’ve scanned the “embedding the vm” several times, but it will need to be broken down a little to make much sense in my amateur brain.  For instance, where does the passed *module get used in the example “execute” function?  It’s not used anywhere there that I can see.  Also, what would the possible strings *module would likely contain?  Would I use a relative url to the main module .n file?

 

Any extra info would be great J

 

Regards,

Lee

 

 

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

Reply via email to