diff options
author | Lukas Larsson <[email protected]> | 2015-12-10 10:58:33 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2016-03-29 14:56:35 +0200 |
commit | 4a736966eba5398a22697db6ca67e1e3dd3cd0f2 (patch) | |
tree | fd94b504ca0f28abdebcedeea72018610a561a00 /erts/emulator/beam/erl_nif.h | |
parent | cee5b753e8dbd294b2677f684c404d16dcfcd643 (diff) | |
download | otp-4a736966eba5398a22697db6ca67e1e3dd3cd0f2.tar.gz otp-4a736966eba5398a22697db6ca67e1e3dd3cd0f2.tar.bz2 otp-4a736966eba5398a22697db6ca67e1e3dd3cd0f2.zip |
erts: Add enif_cpu/now_time and enif_make_unique_integer
Diffstat (limited to 'erts/emulator/beam/erl_nif.h')
-rw-r--r-- | erts/emulator/beam/erl_nif.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_nif.h b/erts/emulator/beam/erl_nif.h index c9c8b1d0af..959fcb5412 100644 --- a/erts/emulator/beam/erl_nif.h +++ b/erts/emulator/beam/erl_nif.h @@ -197,6 +197,11 @@ typedef enum { ERL_NIF_MAP_ITERATOR_TAIL = ERL_NIF_MAP_ITERATOR_LAST } ErlNifMapIteratorEntry; +typedef enum { + ERL_NIF_UNIQUE_POSITIVE = (1 << 0), + ERL_NIF_UNIQUE_MONOTONIC = (1 << 1) +} ErlNifUniqueInteger; + #if (defined(__WIN32__) || defined(_WIN32) || defined(_WIN32_)) # define ERL_NIF_API_FUNC_DECL(RET_TYPE, NAME, ARGS) RET_TYPE (*NAME) ARGS typedef struct { |