-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various fixes for 1.1.4 Argo spec compatibility.
- Loading branch information
1 parent
63440f7
commit d8b8431
Showing
42 changed files
with
834 additions
and
390 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
%%%----------------------------------------------------------------------------- | ||
%%% Copyright (c) Meta Platforms, Inc. and affiliates. | ||
%%% Copyright (c) WhatsApp LLC | ||
%%% | ||
%%% This source code is licensed under the MIT license found in the | ||
%%% LICENSE.md file in the root directory of this source tree. | ||
%%% | ||
%%% @author Andrew Bennett <[email protected]> | ||
%%% @copyright (c) Meta Platforms, Inc. and affiliates. | ||
%%% @doc | ||
%%% | ||
%%% @end | ||
%%% Created : 17 Apr 2024 by Andrew Bennett <[email protected]> | ||
%%%----------------------------------------------------------------------------- | ||
%%% % @format | ||
-module(argo_debug_type). | ||
-compile(warn_missing_spec_all). | ||
-oncall("whatsapp_clr"). | ||
|
||
%% Behaviour | ||
-callback display(IoDevice, Type, Options) -> ok when | ||
IoDevice :: io:device(), Type :: type(), Options :: options(). | ||
-callback format(Type) -> Output when | ||
Type :: type(), Output :: output(). | ||
-callback format(Type, Options) -> Output when | ||
Type :: type(), Options :: options(), Output :: output(). | ||
|
||
-optional_callbacks([ | ||
format/1 | ||
]). | ||
|
||
%% Types | ||
-type options() :: dynamic(). | ||
-type output() :: unicode:unicode_binary(). | ||
-type type() :: dynamic(). | ||
|
||
-export_type([ | ||
options/0, | ||
output/0, | ||
type/0 | ||
]). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.