diff options
author | Kostis Sagonas <[email protected]> | 2010-02-03 23:20:25 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-02-11 15:06:02 +0100 |
commit | f28ac67b9c2b07a1a0eb10041a7eee20827fbf1d (patch) | |
tree | 15a9d3760f2da712cab7ec662026bce95b791bda /erts/preloaded/src/init.erl | |
parent | 75bc5e521dcc9ab798acefb5400f5f15354f08fd (diff) | |
download | otp-f28ac67b9c2b07a1a0eb10041a7eee20827fbf1d.tar.gz otp-f28ac67b9c2b07a1a0eb10041a7eee20827fbf1d.tar.bz2 otp-f28ac67b9c2b07a1a0eb10041a7eee20827fbf1d.zip |
erts/preloaded: Add types and specs
Diffstat (limited to 'erts/preloaded/src/init.erl')
-rw-r--r-- | erts/preloaded/src/init.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/erts/preloaded/src/init.erl b/erts/preloaded/src/init.erl index c0b3d286e8..4fda69e22f 100644 --- a/erts/preloaded/src/init.erl +++ b/erts/preloaded/src/init.erl @@ -51,7 +51,7 @@ get_status/0,boot/1,get_arguments/0,get_plain_arguments/0, get_argument/1,script_id/0]). -% internal exports +%% internal exports -export([fetch_loaded/0,ensure_loaded/1,make_permanent/2, notify_when_started/1,wait_until_started/0, objfile_extension/0, archive_extension/0,code_path_choice/0]). @@ -115,6 +115,8 @@ fetch_loaded() -> ensure_loaded(Module) -> request({ensure_loaded, Module}). +-spec make_permanent(file:filename(), 'false' | file:filename()) -> + 'ok' | {'error', term()}. make_permanent(Boot,Config) -> request({make_permanent,Boot,Config}). |