diff options
author | Richard Carlsson <[email protected]> | 2015-04-16 14:30:55 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-05-07 14:40:32 +0200 |
commit | fc1029c74093fde14241ca664c9341fcc8be5fd3 (patch) | |
tree | 7cd45bce86771c145f0191cb5430b08021d34cd7 /system/doc/reference_manual | |
parent | 39ce03094edb3bc53ad671636355be53564a222d (diff) | |
download | otp-fc1029c74093fde14241ca664c9341fcc8be5fd3.tar.gz otp-fc1029c74093fde14241ca664c9341fcc8be5fd3.tar.bz2 otp-fc1029c74093fde14241ca664c9341fcc8be5fd3.zip |
Add module_info entry for native code
Diffstat (limited to 'system/doc/reference_manual')
-rw-r--r-- | system/doc/reference_manual/modules.xml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/system/doc/reference_manual/modules.xml b/system/doc/reference_manual/modules.xml index 39c739a146..76767ea686 100644 --- a/system/doc/reference_manual/modules.xml +++ b/system/doc/reference_manual/modules.xml @@ -246,7 +246,8 @@ behaviour_info(callbacks) -> Callbacks.</pre> 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>module</c>, <c>attributes</c>, <c>compile</c>, - <c>exports</c> and <c>md5</c>. The order and number of tuples + <c>exports</c>, <c>md5</c> and <c>native</c>. + The order and number of tuples may change without prior notice.</p> </section> @@ -302,6 +303,13 @@ behaviour_info(callbacks) -> Callbacks.</pre> <p>Returns a list of <c>{Name,Arity}</c> tuples with all functions in the module.</p> </item> + + <tag><c>native</c></tag> + <item> + <p>Return <c>true</c> if the module has native compiled code. + Return <c>false</c> otherwise. In a system compiled without HiPE + support, the result is always <c>false</c></p> + </item> </taglist> </section> </section> |