This commit is contained in:
2025-11-07 18:51:18 +09:00
parent c59ef4b14e
commit 5a4c934d10
2 changed files with 11 additions and 27 deletions
+4 -2
View File
@@ -27,7 +27,7 @@
{name = <<"">> :: binary(),
call = #w{} :: #w{},
dryrun = #w{} :: none | #w{},
args = [] :: [{wx:wx_object(), wx:wx_object(), argt()}]}).
args = [] :: [argt()]}).
% Code book pages
-record(p,
@@ -56,7 +56,9 @@
code = {none, []} :: {Codebook :: none | wx:wx_object(), Pages :: [#p{}]},
cons = {none, []} :: {Consbook :: none | wx:wx_object(), Pages :: [#c{}]}}).
-type argt() :: int | string | address | list(argt()).
% TODO: Spec HZ AACIs.
-type argt() :: term(). % FIXME: Whatever HZ returns in the AACI as an arg type.
%%% Interface