carragom
How to go from a JS string[] to a C array of pointers
Hi,
Trying to call a C function with FFI but struggling to covert a string[] to an array of pointers. Lets asume the following C function
And using some JS code I can try to call it
Is
buffer
the right type for that parameter I better us pointer
?. And finally how to convert the params
array to something that can be sent to the C function.
Appreciate the help.21 replies