[erlang-questions] Keeping ErlNifBinary between NIF calls

17 views
Skip to first unread message

Hynek Vychodil

unread,
Jul 5, 2012, 3:23:14 PM7/5/12
to erlang-questions
Hello,

there is mentioned at several places in documentation that ErlNifBinary can be kept mutable between NIF calls but there is not more details how it should be done. I guess it can be stored in static variable, module private data or inside resource object as any other structure. Am I right?

Hynek Vychodil 

Sverker Eriksson

unread,
Jul 6, 2012, 8:50:03 AM7/6/12
to Hynek Vychodil, erlang-questions
Yes.

/Sverker, Erlang/OTP

_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions
Reply all
Reply to author
Forward
0 new messages