LeokumaL
Deno3y ago
Leokuma

FFI: How to pass a pointer to a char pointer?

How can I pass a pointer to a char pointer in order to use the C function below via FFI?
my_func(char **strp)

The external library is supposed to write a string to that buffer, and then Deno reads its content
Was this page helpful?
FFI: How to pass a pointer to a char pointer? - Deno