aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/module.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2012-01-19 12:10:20 +0100
committerSverker Eriksson <[email protected]>2012-02-21 12:22:58 +0100
commitaac03c5e9ccf9f6066e291a7c87dd58c1181c227 (patch)
tree149f9533c5fae8b64c7c083eb211b9902be9db1c /erts/emulator/beam/module.h
parent5ed73504d7409a449ec4e0c0de421a93c4570e3b (diff)
downloadotp-aac03c5e9ccf9f6066e291a7c87dd58c1181c227.tar.gz
otp-aac03c5e9ccf9f6066e291a7c87dd58c1181c227.tar.bz2
otp-aac03c5e9ccf9f6066e291a7c87dd58c1181c227.zip
erts: Multiple module tables using code_ix
Diffstat (limited to 'erts/emulator/beam/module.h')
-rw-r--r--erts/emulator/beam/module.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/erts/emulator/beam/module.h b/erts/emulator/beam/module.h
index 4a2c92c0f7..8a87ae4952 100644
--- a/erts/emulator/beam/module.h
+++ b/erts/emulator/beam/module.h
@@ -39,14 +39,16 @@ typedef struct erl_module {
struct erl_module_instance old;
} Module;
-Module* erts_get_module(Eterm mod);
+Module* erts_get_module(Eterm mod, ErtsCodeIndex code_ix);
Module* erts_put_module(Eterm mod);
void init_module_table(void);
+void module_start_load(void);
+void module_end_load(int commit);
void module_info(int, void *);
-Module *module_code(int);
-int module_code_size(void);
+Module *module_code(int, ErtsCodeIndex);
+int module_code_size(ErtsCodeIndex);
int module_table_sz(void);
#endif