aboutsummaryrefslogtreecommitdiffstats
path: root/erts/preloaded
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-09-25 19:25:27 +0200
committerSverker Eriksson <[email protected]>2017-11-15 20:13:03 +0100
commitbc1bb9f2a9e33ae4d1e91632852ecdddfa58a4d0 (patch)
tree6b2edb77540b554cc1ad706c1adf793bd43a53b3 /erts/preloaded
parent771abbd23709b5a03416278595588931889ab7c5 (diff)
downloadotp-bc1bb9f2a9e33ae4d1e91632852ecdddfa58a4d0.tar.gz
otp-bc1bb9f2a9e33ae4d1e91632852ecdddfa58a4d0.tar.bz2
otp-bc1bb9f2a9e33ae4d1e91632852ecdddfa58a4d0.zip
fix erlang specs and preloaded
Diffstat (limited to 'erts/preloaded')
-rw-r--r--erts/preloaded/ebin/erlang.beambin107332 -> 104644 bytes
-rw-r--r--erts/preloaded/src/erlang.erl9
2 files changed, 5 insertions, 4 deletions
diff --git a/erts/preloaded/ebin/erlang.beam b/erts/preloaded/ebin/erlang.beam
index 181a718287..18137fd53c 100644
--- a/erts/preloaded/ebin/erlang.beam
+++ b/erts/preloaded/ebin/erlang.beam
Binary files differ
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).