diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-03-18 10:59:10 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-03-19 14:57:56 +0100 |
commit | f237e9d4532ce72e88091ffe190a8c252d81d91f (patch) | |
tree | 9551d18877f726f836dc72baadb9c6e4e816adbf /lib/kernel/src | |
parent | 2bf8e9abcc6afe85e5acf5158416854c290fcb27 (diff) | |
download | otp-f237e9d4532ce72e88091ffe190a8c252d81d91f.tar.gz otp-f237e9d4532ce72e88091ffe190a8c252d81d91f.tar.bz2 otp-f237e9d4532ce72e88091ffe190a8c252d81d91f.zip |
kernel: Add spec for erts_debug:map_info/1
Diffstat (limited to 'lib/kernel/src')
-rw-r--r-- | lib/kernel/src/erts_debug.erl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/kernel/src/erts_debug.erl b/lib/kernel/src/erts_debug.erl index a82d9e750f..17bee06b5e 100644 --- a/lib/kernel/src/erts_debug.erl +++ b/lib/kernel/src/erts_debug.erl @@ -33,7 +33,7 @@ -export([breakpoint/2, disassemble/1, display/1, dist_ext_to_term/2, dump_monitors/1, dump_links/1, flat_size/1, get_internal_state/1, instructions/0, lock_counters/1, - same/2, set_internal_state/2]). + map_info/1, same/2, set_internal_state/2]). -spec breakpoint(MFA, Flag) -> non_neg_integer() when MFA :: {Module :: module(), @@ -334,3 +334,9 @@ cont_dis(File, {Addr,Str,MFA}, MFA) -> io:put_chars(File, binary_to_list(Str)), cont_dis(File, erts_debug:disassemble(Addr), MFA); cont_dis(_, {_,_,_}, _) -> ok. + +-spec map_info(Map) -> list() when + Map :: map(). + +map_info(_) -> + erlang:nif_error(undef). |