From fc1029c74093fde14241ca664c9341fcc8be5fd3 Mon Sep 17 00:00:00 2001 From: Richard Carlsson Date: Thu, 16 Apr 2015 14:30:55 +0200 Subject: Add module_info entry for native code --- system/doc/reference_manual/modules.xml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'system') 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. a list of {Key,Value} tuples with information about the module. Currently, the list contain tuples with the following Keys: module, attributes, compile, - exports and md5. The order and number of tuples + exports, md5 and native. + The order and number of tuples may change without prior notice.

@@ -302,6 +303,13 @@ behaviour_info(callbacks) -> Callbacks.

Returns a list of {Name,Arity} tuples with all functions in the module.

+ + native + +

Return true if the module has native compiled code. + Return false otherwise. In a system compiled without HiPE + support, the result is always false

+
-- cgit v1.2.3