aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2011-10-18 16:20:28 +0200
committerHenrik Nord <[email protected]>2011-10-18 16:20:28 +0200
commit02ec67177b2f5d2de371362e5bb3c9b9771fb0b8 (patch)
tree1a7e5332778088276b289afc5a560062bec6972f /erts/doc
parent852827dab8fa74167f9a000998304e3961010797 (diff)
parent8db78b0c92a26e2a7766f8ece2f0ed7abb5db791 (diff)
downloadotp-02ec67177b2f5d2de371362e5bb3c9b9771fb0b8.tar.gz
otp-02ec67177b2f5d2de371362e5bb3c9b9771fb0b8.tar.bz2
otp-02ec67177b2f5d2de371362e5bb3c9b9771fb0b8.zip
Merge branch 'fm/enif_is_number'
* fm/enif_is_number: Add NIF function enif_is_number Conflicts: erts/emulator/beam/erl_nif_api_funcs.h OTP-9629
Diffstat (limited to 'erts/doc')
-rw-r--r--erts/doc/src/erl_nif.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/doc/src/erl_nif.xml b/erts/doc/src/erl_nif.xml
index 980fc0cc39..8daa67aa87 100644
--- a/erts/doc/src/erl_nif.xml
+++ b/erts/doc/src/erl_nif.xml
@@ -692,6 +692,10 @@ typedef enum {
<fsummary>Determine if a term is an exception</fsummary>
<desc><p>Return true if <c>term</c> is an exception.</p></desc>
</func>
+ <func><name><ret>int</ret><nametext>enif_is_number(ErlNifEnv* env, ERL_NIF_TERM term)</nametext></name>
+ <fsummary>Determine if a term is a number (integer or float)</fsummary>
+ <desc><p>Return true if <c>term</c> is a number.</p></desc>
+ </func>
<func><name><ret>int</ret><nametext>enif_is_fun(ErlNifEnv* env, ERL_NIF_TERM term)</nametext></name>
<fsummary>Determine if a term is a fun</fsummary>
<desc><p>Return true if <c>term</c> is a fun.</p></desc>