diff options
author | Sverker Eriksson <[email protected]> | 2015-12-16 19:11:48 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-01-13 19:59:53 +0100 |
commit | dc54c2a27c41930a18e0c7f2b97eda6cd4a0b1c1 (patch) | |
tree | 5018e4ed47be3202d6969ec125a2861b6454ef3e /erts/preloaded/src/erts_internal.erl | |
parent | fa44f865c3fc6253cf4691cf94839c303a3ee40f (diff) | |
download | otp-dc54c2a27c41930a18e0c7f2b97eda6cd4a0b1c1.tar.gz otp-dc54c2a27c41930a18e0c7f2b97eda6cd4a0b1c1.tar.bz2 otp-dc54c2a27c41930a18e0c7f2b97eda6cd4a0b1c1.zip |
erts: Move copy_literals/2 from erlang to erts_internal
as it's not a public interface.
Diffstat (limited to 'erts/preloaded/src/erts_internal.erl')
-rw-r--r-- | erts/preloaded/src/erts_internal.erl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/erts/preloaded/src/erts_internal.erl b/erts/preloaded/src/erts_internal.erl index 6e649e8395..30e9ba304c 100644 --- a/erts/preloaded/src/erts_internal.erl +++ b/erts/preloaded/src/erts_internal.erl @@ -38,6 +38,7 @@ -export([request_system_task/3]). -export([check_process_code/2]). +-export([copy_literals/2]). -export([purge_module/1]). -export([flush_monitor_messages/3]). @@ -205,6 +206,12 @@ request_system_task(_Pid, _Prio, _Request) -> check_process_code(_Module, _OptionList) -> erlang:nif_error(undefined). +-spec copy_literals(Module,Bool) -> 'true' | 'false' | 'aborted' when + Module :: module(), + Bool :: boolean(). +copy_literals(_Mod, _Bool) -> + erlang:nif_error(undefined). + -spec purge_module(Module) -> boolean() when Module :: module(). purge_module(_Module) -> |