diff options
author | Björn-Egil Dahlberg <[email protected]> | 2014-06-16 15:53:11 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2014-08-22 18:59:12 +0200 |
commit | 7cd4ac96cb8e8bef78c6eebfadb2e9590f88055d (patch) | |
tree | f68a245c94233e02232f01f4eba4aafe4a28ceaf | |
parent | 98a82e0df1783932ca9a09fa15dcf9bdab22b362 (diff) | |
download | otp-7cd4ac96cb8e8bef78c6eebfadb2e9590f88055d.tar.gz otp-7cd4ac96cb8e8bef78c6eebfadb2e9590f88055d.tar.bz2 otp-7cd4ac96cb8e8bef78c6eebfadb2e9590f88055d.zip |
erts: Add spec for erlang:get_keys/0
-rw-r--r-- | erts/preloaded/src/erlang.erl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/erts/preloaded/src/erlang.erl b/erts/preloaded/src/erlang.erl index 7903901b81..b96a601792 100644 --- a/erts/preloaded/src/erlang.erl +++ b/erts/preloaded/src/erlang.erl @@ -93,7 +93,7 @@ float_to_list/1, float_to_list/2]). -export([fun_info/2, fun_info_mfa/1, fun_to_list/1, function_exported/3]). -export([garbage_collect/0, garbage_collect/1, garbage_collect/2]). --export([garbage_collect_message_area/0, get/0, get/1, get_keys/1]). +-export([garbage_collect_message_area/0, get/0, get/1, get_keys/0, get_keys/1]). -export([get_module_info/1, get_stacktrace/0, group_leader/0]). -export([group_leader/2, halt/0, halt/1, halt/2, hash/2, hibernate/3]). -export([insert_element/3]). @@ -931,6 +931,12 @@ get() -> get(_Key) -> erlang:nif_error(undefined). +%% get_keys/0 +-spec get_keys() -> [Key] when + Key :: term(). +get_keys() -> + erlang:nif_error(undefined). + %% get_keys/1 -spec get_keys(Val) -> [Key] when Val :: term(), |