[erlang-questions] using strings with NIF
Wed Dec 9 10:41:37 CET 2009
Jason Frame wrote:
> I am trying to use a string as an argument with NIF. I can't work out
> how to extract the string on the c side though. Using a int is quite
> simple with the enif_get_int function but there doesn't seem be a
> similar function for strings.
I've put enif_get_string on the ToDo.
Here is a web site in some eastern language that has a
"my_enif_get_string" implemented. I leave it up to you to figure out the
/Sverker, Erlang/OTP Ericsson
More information about the erlang-questions