From: Nguyen A. Q. <aq...@gm...> - 2014-05-26 12:20:32
|
On Mon, May 26, 2014 at 5:44 PM, Jay Oster <ja...@ko...> wrote: > > On May 23, 2014, at 1:33 AM, Nguyen Anh Quynh <aq...@gm...> wrote: > > > On Fri, May 23, 2014 at 3:54 PM, Jay Oster <ja...@ko...> wrote: > >> >> I can't support the new SKIPDATA mode yet, because I have no interface >> for providing callback functions to native code. I'll have to write a new >> native module for node that can support passing callbacks into native land. >> (Such a module does not exist yet.) Everything I'm using is all built on >> libffi, and I should be able to implement generic callbacks using >> ffi_closure. But this will be a nice little detour, anyway. >> > > i see, but you can take time working on that, as the next release is not > out very soon yet (still deciding on when is a good time for it) > > > I was able to get the callback working properly, and is now fully > supported in node-capstone. (node-ffi has callback support, it's just > undocumented.) > > With that, I think the node bindings are ready for 2.2! There might be > some API changes along the way, but all of the new features are ready to go. > great, this is quick! i took a look at your "next" branch, and you need to correct the instructions on installing the core: users cannot install the 2.2 core from Brew, or from any available packages, as they are not ready yet. the only way to have 2.2 core is to build from source of the "next" branch from https://github.com/aquynh/capstone/tree/next thanks, Q |