Export type 'opts/0'

This commit is contained in:
Feng Lee 2019-09-18 19:19:42 +08:00
parent 50f392b295
commit c8acd55afa
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@
, reset/1 , reset/1
]). ]).
-export_type([gc_state/0]). -export_type([opts/0, gc_state/0]).
-type(opts() :: #{count => integer(), -type(opts() :: #{count => integer(),
bytes => integer()}). bytes => integer()}).

View File

@ -28,7 +28,7 @@
, info/1 , info/1
]). ]).
-export_type([oom_policy/0]). -export_type([opts/0, oom_policy/0]).
-type(opts() :: #{message_queue_len => non_neg_integer(), -type(opts() :: #{message_queue_len => non_neg_integer(),
max_heap_size => non_neg_integer() max_heap_size => non_neg_integer()