From b72c19c12cfaa3cfae335a63372c252c819548e1 Mon Sep 17 00:00:00 2001 From: Takeru Ohta Date: Tue, 8 Sep 2015 00:04:52 +0900 Subject: Add rebar_set/0 type --- src/rebar.hrl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/rebar.hrl b/src/rebar.hrl index 961b8ea..8ad0faa 100644 --- a/src/rebar.hrl +++ b/src/rebar.hrl @@ -43,6 +43,12 @@ -type rebar_digraph() :: digraph(). -endif. +-ifdef(namespaced_types). +-type rebar_set() :: sets:set(). +-else. +-type rebar_set() :: set(). +-endif. + -define(GRAPH_VSN, 2). -type v() :: {digraph:vertex(), term()} | 'false'. -type e() :: {digraph:vertex(), digraph:vertex()}. -- cgit v1.1