aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-10-06 14:31:33 +0200
committerBjörn Gustavsson <[email protected]>2010-10-06 14:31:33 +0200
commit90b514aa9f2aa35b93136ea9776543d8e4461f41 (patch)
tree6c2484a178b70d9cde7a5ac362ad7f61d9ce3ddf /lib/stdlib/src
parent6b2512b424d077f98693f2bd3a8445eb084bdc06 (diff)
parent4d60cb7e0855ee1929ac719f7e525e8fedf79562 (diff)
downloadotp-90b514aa9f2aa35b93136ea9776543d8e4461f41.tar.gz
otp-90b514aa9f2aa35b93136ea9776543d8e4461f41.tar.bz2
otp-90b514aa9f2aa35b93136ea9776543d8e4461f41.zip
Merge branch 'ks/export-types' into dev
* ks/export-types: Export opaque types so as to be used by other modules
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r--lib/stdlib/src/digraph.erl2
-rw-r--r--lib/stdlib/src/timer.erl3
2 files changed, 4 insertions, 1 deletions
diff --git a/lib/stdlib/src/digraph.erl b/lib/stdlib/src/digraph.erl
index b5f52da921..5edc868a94 100644
--- a/lib/stdlib/src/digraph.erl
+++ b/lib/stdlib/src/digraph.erl
@@ -36,7 +36,7 @@
-export([get_short_path/3, get_short_cycle/2]).
--export_type([d_type/0, vertex/0]).
+-export_type([digraph/0, d_type/0, vertex/0]).
-record(digraph, {vtab = notable :: ets:tab(),
etab = notable :: ets:tab(),
diff --git a/lib/stdlib/src/timer.erl b/lib/stdlib/src/timer.erl
index 24e14caa69..b456c5d6c1 100644
--- a/lib/stdlib/src/timer.erl
+++ b/lib/stdlib/src/timer.erl
@@ -33,6 +33,9 @@
%% internal exports for test purposes only
-export([get_status/0]).
+%% types which can be used by other modules
+-export_type([tref/0]).
+
%% Max
-define(MAX_TIMEOUT, 16#0800000).
-define(TIMER_TAB, timer_tab).