Merge branch 'master' into add_stacktrace
This commit is contained in:
commit
22773ba76d
|
@ -56,22 +56,9 @@
|
||||||
%% Callback
|
%% Callback
|
||||||
%%--------------------------------------------------------------------
|
%%--------------------------------------------------------------------
|
||||||
|
|
||||||
-ifdef(use_specs).
|
|
||||||
|
|
||||||
-callback(connect(ConnOpts :: list())
|
-callback(connect(ConnOpts :: list())
|
||||||
-> {ok, pid()} | {error, Reason :: term()}).
|
-> {ok, pid()} | {error, Reason :: term()}).
|
||||||
|
|
||||||
-else.
|
|
||||||
|
|
||||||
-export([behaviour_info/1]).
|
|
||||||
|
|
||||||
behaviour_info(callbacks) ->
|
|
||||||
[{connect, 1}];
|
|
||||||
behaviour_info(_Other) ->
|
|
||||||
undefined.
|
|
||||||
|
|
||||||
-endif.
|
|
||||||
|
|
||||||
%%--------------------------------------------------------------------
|
%%--------------------------------------------------------------------
|
||||||
%% API
|
%% API
|
||||||
%%--------------------------------------------------------------------
|
%%--------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue