[erlang-questions] using strings with NIF
Wed Dec 9 11:42:05 CET 2009
Thanks that code worked.
On Wed, Dec 9, 2009 at 7:41 PM, Sverker Eriksson
> 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 copyrights :-)
> /Sverker, Erlang/OTP Ericsson
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
More information about the erlang-questions