diff options
-rw-r--r-- | erts/doc/src/erl_nif.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/erts/doc/src/erl_nif.xml b/erts/doc/src/erl_nif.xml index 4208aa269a..91e9e68d16 100644 --- a/erts/doc/src/erl_nif.xml +++ b/erts/doc/src/erl_nif.xml @@ -2849,7 +2849,9 @@ enif_map_iterator_destroy(env, &iter);</code> <p>Notice that <c>enif_open_resource_type</c> is only allowed to be called in the two callbacks <seecref marker="#load"><c>load</c></seecref> and - <seecref marker="#upgrade"><c>upgrade</c></seecref>.</p> + <seecref marker="#upgrade"><c>upgrade</c></seecref>. The resource type + is only created or taken over if the calling <c>load</c>/<c>upgrade</c> + function returns successfully.</p> <p>See also <seecref marker="#enif_open_resource_type_x"> <c>enif_open_resource_type_x</c></seecref>.</p> </desc> |