diff options
author | Björn Gustavsson <[email protected]> | 2010-10-06 14:31:33 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-10-06 14:31:33 +0200 |
commit | 90b514aa9f2aa35b93136ea9776543d8e4461f41 (patch) | |
tree | 6c2484a178b70d9cde7a5ac362ad7f61d9ce3ddf | |
parent | 6b2512b424d077f98693f2bd3a8445eb084bdc06 (diff) | |
parent | 4d60cb7e0855ee1929ac719f7e525e8fedf79562 (diff) | |
download | otp-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
-rw-r--r-- | lib/stdlib/src/digraph.erl | 2 | ||||
-rw-r--r-- | lib/stdlib/src/timer.erl | 3 |
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). |