TooTallNate / ref

Turn Buffer instances into "pointers"
http://tootallnate.github.com/ref
454 stars 142 forks source link

How to use linear array in ref , like C Language ‘s Char ** #9

Closed PanYuntao closed 11 years ago

PanYuntao commented 11 years ago

I have a C library , invoke a method in the library and a parameter is char * ,but can't get the char[] or string[] object with char * .

PanYuntao commented 11 years ago

https://github.com/PanYuntao/node-ffi/blob/master/example/sqlite.js

PanYuntao commented 11 years ago

https://github.com/TooTallNate/ref-array