summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/struct')
-rw-r--r--src/shared/struct/shr_condition.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/struct/shr_condition.erl b/src/shared/struct/shr_condition.erl
index 6d75167..13c3426 100644
--- a/src/shared/struct/shr_condition.erl
+++ b/src/shared/struct/shr_condition.erl
@@ -5,6 +5,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-type id() :: ataxia_id:type().
-type trigger() :: atom().
+-type context(ReadOnly, Volatile) :: {trigger(), ReadOnly, Volatile}.
-record
(
@@ -20,7 +21,7 @@
-opaque type() :: #condition{}.
--export_type([id/0, type/0, trigger/0]).
+-export_type([id/0, type/0, trigger/0, context/2]).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% EXPORTS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%