[erlang-questions] An NIF example (libiconv binding)
Wed Feb 17 18:59:15 CET 2010
Aleksey Yeschenko wrote:
> There aren't many NIF examples, so I've created one:
> It's a simple libiconv wrapper - it uses the latest NIF api (though
> not ErlNifResourceType for the descriptors, yet).
> Please fork it if you have something to add
Would be neat with ErlNifResourceType though. Safer and simpler usage as
you can skip "close". The garbage collector will take care of that.
/Sverker, Erlang/OTP Ericsson
More information about the erlang-questions