diff options
author | Sverker Eriksson <[email protected]> | 2017-09-25 19:25:27 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2017-11-15 20:13:03 +0100 |
commit | bc1bb9f2a9e33ae4d1e91632852ecdddfa58a4d0 (patch) | |
tree | 6b2edb77540b554cc1ad706c1adf793bd43a53b3 /erts/preloaded/src/erlang.erl | |
parent | 771abbd23709b5a03416278595588931889ab7c5 (diff) | |
download | otp-bc1bb9f2a9e33ae4d1e91632852ecdddfa58a4d0.tar.gz otp-bc1bb9f2a9e33ae4d1e91632852ecdddfa58a4d0.tar.bz2 otp-bc1bb9f2a9e33ae4d1e91632852ecdddfa58a4d0.zip |
fix erlang specs and preloaded
Diffstat (limited to 'erts/preloaded/src/erlang.erl')
-rw-r--r-- | erts/preloaded/src/erlang.erl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/erts/preloaded/src/erlang.erl b/erts/preloaded/src/erlang.erl index 0aa8dae3e5..2dc2c48f0c 100644 --- a/erts/preloaded/src/erlang.erl +++ b/erts/preloaded/src/erlang.erl @@ -1664,15 +1664,16 @@ setnode(_P1, _P2, _P3) -> erlang:nif_error(undefined). %% new_connection_id/1 --spec erlang:new_connection_id(Node) -> integer() when - Node :: atom(). +-spec erlang:new_connection_id(Node) -> ConnId when + Node :: atom(), + ConnId :: {integer(), dist_handle()}. new_connection_id(_Node) -> erlang:nif_error(undefined). %% abort_connection_id/2 --spec erlang:abort_connection_id(Node, ConnId) -> integer() when +-spec erlang:abort_connection_id(Node, ConnId) -> boolean() when Node :: atom(), - ConnId :: integer(). + ConnId :: {integer(), dist_handle()}. abort_connection_id(_Node, _ConnId) -> erlang:nif_error(undefined). |