diff options
author | Richard Carlsson <[email protected]> | 2014-05-14 14:49:10 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2014-05-14 14:49:10 +0200 |
commit | 4ad572a8b66df8174d92157411326aab95ee8124 (patch) | |
tree | 7bced5ba8e8b98fc7306cca1b12923ef400c8974 /system/doc/reference_manual/modules.xml | |
parent | fdb350a4c98f070c264b8bd4ea9eca2513352f21 (diff) | |
download | otp-4ad572a8b66df8174d92157411326aab95ee8124.tar.gz otp-4ad572a8b66df8174d92157411326aab95ee8124.tar.bz2 otp-4ad572a8b66df8174d92157411326aab95ee8124.zip |
Add 'module' entry for module_info/0 function for completeness
as it exist in module_info/1.
Diffstat (limited to 'system/doc/reference_manual/modules.xml')
-rw-r--r-- | system/doc/reference_manual/modules.xml | 7 |
1 files changed, 6 insertions, 1 deletions
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.</pre> <p>The <c>module_info/0</c> function in each module returns a list of <c>{Key,Value}</c> tuples with information about the module. Currently, the list contain tuples with the following - <c>Key</c>s: <c>attributes</c>, <c>compile</c>, + <c>Key</c>s: <c>module</c>, <c>attributes</c>, <c>compile</c>, <c>exports</c>, <c>imports</c> and <c>md5</c>. The order and number of tuples may change without prior notice.</p> @@ -246,6 +246,11 @@ behaviour_info(callbacks) -> Callbacks.</pre> <p>The following values are allowed for <c>Key</c>:</p> <taglist> + <tag><c>module</c></tag> + <item> + <p>Return an atom representing the module name.</p> + </item> + <tag><c>attributes</c></tag> <item> <p>Return a list of <c>{AttributeName,ValueList}</c> tuples, |