diff options
author | Lukas Larsson <[email protected]> | 2011-06-30 14:33:28 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2011-06-30 14:33:28 +0200 |
commit | 256391d4f9b7425fd96b5b9f344b212751bdfda2 (patch) | |
tree | 854f354b294af4b3bc5cd646768291d0b1b3c431 /erts/doc/src/erl_nif.xml | |
parent | 12ecb8c36fd00fff873f3bcaf8ffd53d5f2fb31f (diff) | |
download | otp-256391d4f9b7425fd96b5b9f344b212751bdfda2.tar.gz otp-256391d4f9b7425fd96b5b9f344b212751bdfda2.tar.bz2 otp-256391d4f9b7425fd96b5b9f344b212751bdfda2.zip |
Added enif_get_reverse_list to nif API
Diffstat (limited to 'erts/doc/src/erl_nif.xml')
-rw-r--r-- | erts/doc/src/erl_nif.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/erts/doc/src/erl_nif.xml b/erts/doc/src/erl_nif.xml index cdce4ec0b8..6b9a405647 100644 --- a/erts/doc/src/erl_nif.xml +++ b/erts/doc/src/erl_nif.xml @@ -604,6 +604,13 @@ typedef enum { <desc><p>Set <c>*len</c> to the length of list <c>term</c> and return true, or return false if <c>term</c> is not a list.</p></desc> </func> + <func><name><ret>int</ret><nametext>enif_get_reverse_list(ErlNifEnv* env, ERL_NIF_TERM term, ERL_NIF_TERM *list)</nametext></name> + <fsummary>Get the reverse list of the list <c>term</c>.</fsummary> + <desc><p>Set <c>*list</c> to the reverse list of the list <c>term</c> and return true, + or return false if <c>term</c> is not a list. This function should only be used on + short lists as a copy will be created of the list which will not be released until after the + nif returns.</p></desc> + </func> <func><name><ret>int</ret><nametext>enif_get_long(ErlNifEnv* env, ERL_NIF_TERM term, long int* ip)</nametext></name> <fsummary>Read an long integer term.</fsummary> <desc><p>Set <c>*ip</c> to the long integer value of <c>term</c> and |