diff options
author | Dmytro Lytovchenko <[email protected]> | 2016-01-21 17:26:56 +0100 |
---|---|---|
committer | Dmytro Lytovchenko <[email protected]> | 2016-01-25 14:58:12 +0100 |
commit | 0236a875929729eca1933cbb854267f584734b26 (patch) | |
tree | c49c7ae95ed0c208e96f8ffab154b8c7d212c75c /erts/emulator/beam/big.h | |
parent | 453934c7f240c1105088a63b8c4bb24e191c8b81 (diff) | |
download | otp-0236a875929729eca1933cbb854267f584734b26.tar.gz otp-0236a875929729eca1933cbb854267f584734b26.tar.bz2 otp-0236a875929729eca1933cbb854267f584734b26.zip |
Moved do_list_to_integer from bif.c to big.c
Diffstat (limited to 'erts/emulator/beam/big.h')
-rw-r--r-- | erts/emulator/beam/big.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/erts/emulator/beam/big.h b/erts/emulator/beam/big.h index 94f9bce10e..85807d6eea 100644 --- a/erts/emulator/beam/big.h +++ b/erts/emulator/beam/big.h @@ -173,4 +173,12 @@ Eterm erts_sint64_to_big(Sint64, Eterm **); Eterm erts_chars_to_integer(Process *, char*, Uint, const int); +#define LTI_BAD_STRUCTURE 0 +#define LTI_NO_INTEGER 1 +#define LTI_SOME_INTEGER 2 +#define LTI_ALL_INTEGER 3 + +int do_list_to_integer(Process *p, Eterm orig_list, + Eterm *integer, Eterm *rest); + #endif |