aboutsummaryrefslogtreecommitdiffstats
path: root/erts/preloaded/src
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2018-03-21 09:29:22 +0100
committerJohn Högberg <[email protected]>2018-03-21 12:39:09 +0100
commitf5af4ec3aec18b7237c11ec6c8b7dd9367002d37 (patch)
treeaa6ffecc16533fba2800d74f97bad4929c178340 /erts/preloaded/src
parent5fcb8fe88e26938537de72462dc77e91a450ee57 (diff)
downloadotp-f5af4ec3aec18b7237c11ec6c8b7dd9367002d37.tar.gz
otp-f5af4ec3aec18b7237c11ec6c8b7dd9367002d37.tar.bz2
otp-f5af4ec3aec18b7237c11ec6c8b7dd9367002d37.zip
Add an option to ?MODULE:module_info/1 for listing NIFs
Diffstat (limited to 'erts/preloaded/src')
-rw-r--r--erts/preloaded/src/erlang.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/preloaded/src/erlang.erl b/erts/preloaded/src/erlang.erl
index 370ecdc3f6..53d6e55310 100644
--- a/erts/preloaded/src/erlang.erl
+++ b/erts/preloaded/src/erlang.erl
@@ -1904,7 +1904,7 @@ element(_N, _Tuple) ->
%% Not documented
-type module_info_key() :: attributes | compile | exports | functions | md5
- | module | native | native_addresses.
+ | module | native | native_addresses | nifs.
-spec erlang:get_module_info(Module, Item) -> ModuleInfo when
Module :: atom(),
Item :: module_info_key(),