diff options
Diffstat (limited to 'erts/emulator/beam/export.h')
-rw-r--r-- | erts/emulator/beam/export.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/erts/emulator/beam/export.h b/erts/emulator/beam/export.h index 47e5a2c1d1..0aad921b2d 100644 --- a/erts/emulator/beam/export.h +++ b/erts/emulator/beam/export.h @@ -28,6 +28,8 @@ #include "index.h" #endif +#include "code_ix.h" + /* ** Export entry */ @@ -59,17 +61,20 @@ typedef struct export void init_export_table(void); void export_info(int, void *); -Export* erts_find_export_entry(Eterm m, Eterm f, unsigned int a); +Export* erts_find_export_entry(Eterm m, Eterm f, unsigned int a, ErtsCodeIndex); +Export* erts_active_export_entry(Eterm m, Eterm f, unsigned int a); /*SVERK inline? */ Export* erts_export_put(Eterm mod, Eterm func, unsigned int arity); Export* erts_export_get_or_make_stub(Eterm, Eterm, unsigned); -void erts_export_consolidate(void); +void erts_export_consolidate(ErtsCodeIndex); -Export *export_list(int); -int export_list_size(void); +Export *export_list(int,ErtsCodeIndex); +int export_list_size(ErtsCodeIndex); int export_table_sz(void); Export *export_get(Export*); +void export_start_load(void); +void export_end_load(int commit); #include "beam_load.h" /* For em_* extern declarations */ #define ExportIsBuiltIn(EntryPtr) \ |