diff options
author | Sverker Eriksson <[email protected]> | 2014-05-20 20:42:29 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2014-05-20 20:42:33 +0200 |
commit | d4d5b4375dae706edb6deda9faebc66000aa2019 (patch) | |
tree | 8bacb40163179f93af6e3a5a23563f89d4882078 /erts/preloaded/src/erlang.erl | |
parent | 23f73961cbd2d48b019214dcba243afb80034ce9 (diff) | |
parent | 0dbcbea0cf52672ef1cf051c3cd7640eb7ff728e (diff) | |
download | otp-d4d5b4375dae706edb6deda9faebc66000aa2019.tar.gz otp-d4d5b4375dae706edb6deda9faebc66000aa2019.tar.bz2 otp-d4d5b4375dae706edb6deda9faebc66000aa2019.zip |
Merge branch 'sverk/better-module-info'
OTP-11940
* sverk/better-module-info:
Remove obsolete 'imports' entry from module_info/1/2 functions
Add 'module' entry for module_info/0 function for completeness
Add 'md5' entry for module_info/0/1 functions.
Diffstat (limited to 'erts/preloaded/src/erlang.erl')
-rw-r--r-- | erts/preloaded/src/erlang.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/preloaded/src/erlang.erl b/erts/preloaded/src/erlang.erl index 1508eed9ee..dd3ea87c90 100644 --- a/erts/preloaded/src/erlang.erl +++ b/erts/preloaded/src/erlang.erl @@ -1664,7 +1664,7 @@ element(_N, _Tuple) -> %% Not documented -spec erlang:get_module_info(Module, Item) -> ModuleInfo when Module :: atom(), - Item :: module | imports | exports | functions | attributes | compile | native_addresses, + Item :: module | imports | exports | functions | attributes | compile | native_addresses | md5, ModuleInfo :: atom() | [] | [{atom(), arity()}] | [{atom(), term()}] | [{atom(), arity(), integer()}]. get_module_info(_Module, _Item) -> erlang:nif_error(undefined). |