aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_depsolver.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rlx_depsolver.erl')
-rw-r--r--src/rlx_depsolver.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rlx_depsolver.erl b/src/rlx_depsolver.erl
index 20423d0..5d78174 100644
--- a/src/rlx_depsolver.erl
+++ b/src/rlx_depsolver.erl
@@ -112,7 +112,11 @@
%%============================================================================
%% type
%%============================================================================
+-ifdef(namespaced_types).
+-type dep_graph() :: gb_tree:tree().
+-else.
-type dep_graph() :: gb_tree().
+-endif.
-opaque t() :: {?MODULE, dep_graph()}.
-type pkg() :: {pkg_name(), vsn()}.
-type pkg_name() :: binary() | atom().