diff options
author | Rickard Green <[email protected]> | 2014-05-19 18:09:13 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2014-06-05 14:38:12 +0200 |
commit | 82c048745efcb5d811ec0489858b821ef39ea387 (patch) | |
tree | 62466297ce35ebc60d2b476aadb4422cd13dbea5 /erts/preloaded/src/erts_internal.erl | |
parent | efa69184de378b99b1d222c5a0b1c07d9b5a39aa (diff) | |
download | otp-82c048745efcb5d811ec0489858b821ef39ea387.tar.gz otp-82c048745efcb5d811ec0489858b821ef39ea387.tar.bz2 otp-82c048745efcb5d811ec0489858b821ef39ea387.zip |
Replace erlang:binary_to_term() Erlang wrappers
Replace the 'erlang:binary_to_term/1' and 'erlang:binary_to_term/2'
Erlang wrappers taking care of failure after yield with management
of this in the hidden yield BIF.
Diffstat (limited to 'erts/preloaded/src/erts_internal.erl')
-rw-r--r-- | erts/preloaded/src/erts_internal.erl | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/erts/preloaded/src/erts_internal.erl b/erts/preloaded/src/erts_internal.erl index edcd50c77e..e9044503b3 100644 --- a/erts/preloaded/src/erts_internal.erl +++ b/erts/preloaded/src/erts_internal.erl @@ -29,7 +29,6 @@ -module(erts_internal). -export([await_port_send_result/3]). --export([binary_to_term/1, binary_to_term/2]). -export([cmp_term/2]). -export([port_command/3, port_connect/2, port_close/1, port_control/3, port_call/3, port_info/1, port_info/2]). @@ -161,17 +160,6 @@ request_system_task(_Pid, _Prio, _Request) -> check_process_code(_Module, _OptionList) -> erlang:nif_error(undefined). --spec binary_to_term(Binary) -> term() when - Binary :: binary(). -binary_to_term(_Binary) -> - erlang:nif_error(undefined). - --spec binary_to_term(Binary, Opts) -> term() when - Binary :: binary(), - Opts :: [safe]. -binary_to_term(_Binary, _Opts) -> - erlang:nif_error(undefined). - %% term compare where integer() < float() = true -spec cmp_term(A,B) -> Result when |