From 4ad572a8b66df8174d92157411326aab95ee8124 Mon Sep 17 00:00:00 2001 From: Richard Carlsson Date: Wed, 14 May 2014 14:49:10 +0200 Subject: Add 'module' entry for module_info/0 function for completeness as it exist in module_info/1. --- system/doc/reference_manual/modules.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'system/doc') diff --git a/system/doc/reference_manual/modules.xml b/system/doc/reference_manual/modules.xml index c8f443d9dd..ac778805fe 100644 --- a/system/doc/reference_manual/modules.xml +++ b/system/doc/reference_manual/modules.xml @@ -229,7 +229,7 @@ behaviour_info(callbacks) -> Callbacks.

The module_info/0 function in each module returns a list of {Key,Value} tuples with information about the module. Currently, the list contain tuples with the following - Keys: attributes, compile, + Keys: module, attributes, compile, exports, imports and md5. The order and number of tuples may change without prior notice.

@@ -246,6 +246,11 @@ behaviour_info(callbacks) -> Callbacks.

The following values are allowed for Key:

+ module + +

Return an atom representing the module name.

+
+ attributes

Return a list of {AttributeName,ValueList} tuples, -- cgit v1.2.3