aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/global.h
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-11-30 15:28:37 +0100
committerBjörn Gustavsson <[email protected]>2016-02-20 07:24:37 +0100
commite1be12434b06fb2594af5cdafc5efc5b9182d8b6 (patch)
tree76063230a59c5bebbd02aa2be57569b0d03608f2 /erts/emulator/beam/global.h
parent48411ad12f4d730412895e90c188c2d8f7813ce5 (diff)
downloadotp-e1be12434b06fb2594af5cdafc5efc5b9182d8b6.tar.gz
otp-e1be12434b06fb2594af5cdafc5efc5b9182d8b6.tar.bz2
otp-e1be12434b06fb2594af5cdafc5efc5b9182d8b6.zip
beam_load.c: Add a function to check for an on_load function
We will need a way to check whether an prepared BEAM modules has an on_load function.
Diffstat (limited to 'erts/emulator/beam/global.h')
-rw-r--r--erts/emulator/beam/global.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h
index 2a8bdb6ee3..b174fa3e8a 100644
--- a/erts/emulator/beam/global.h
+++ b/erts/emulator/beam/global.h
@@ -1008,6 +1008,7 @@ typedef struct {
Binary* erts_alloc_loader_state(void);
Eterm erts_module_for_prepared_code(Binary* magic);
+Eterm erts_has_code_on_load(Binary* magic);
Eterm erts_prepare_loading(Binary* loader_state, Process *c_p,
Eterm group_leader, Eterm* modp,
byte* code, Uint size);