aboutsummaryrefslogtreecommitdiffstats
path: root/erts/preloaded/src/init.erl
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2010-02-03 23:20:25 +0200
committerBjörn Gustavsson <[email protected]>2010-02-11 15:06:02 +0100
commitf28ac67b9c2b07a1a0eb10041a7eee20827fbf1d (patch)
tree15a9d3760f2da712cab7ec662026bce95b791bda /erts/preloaded/src/init.erl
parent75bc5e521dcc9ab798acefb5400f5f15354f08fd (diff)
downloadotp-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.erl4
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}).