[erlang-questions] Removing eterm from NifEnv.

Ilya Khaprov ilya.khaprov@REDACTED
Sat Nov 18 20:20:52 CET 2017


Hello,

I copy (enif_make_copy) an eterm to private NifEnv inside Nif.
Later I want to remove that eterm from the NifEnv (actually I want to free memory, but I guess this means removing from NifEnv’s heap).
How to do this? I know about enif_free_env, but this function clear entire env.

Thank you,
Ilya


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20171118/cde8769f/attachment.htm>


More information about the erlang-questions mailing list