diff options
author | Kostis Sagonas <[email protected]> | 2010-09-24 15:34:15 +0300 |
---|---|---|
committer | Kostis Sagonas <[email protected]> | 2010-09-24 15:34:15 +0300 |
commit | 4d60cb7e0855ee1929ac719f7e525e8fedf79562 (patch) | |
tree | 757f7dea65d8e985d10b6f97613cbf7649407b9e | |
parent | dd51118499209bbd91c0092d9778897026bde4c6 (diff) | |
download | otp-4d60cb7e0855ee1929ac719f7e525e8fedf79562.tar.gz otp-4d60cb7e0855ee1929ac719f7e525e8fedf79562.tar.bz2 otp-4d60cb7e0855ee1929ac719f7e525e8fedf79562.zip |
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). |