aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-objtypes.ads
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/synth-objtypes.ads')
-rw-r--r--src/synth/synth-objtypes.ads3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/synth/synth-objtypes.ads b/src/synth/synth-objtypes.ads
index 36a1b64cb..dfc0f732b 100644
--- a/src/synth/synth-objtypes.ads
+++ b/src/synth/synth-objtypes.ads
@@ -224,6 +224,9 @@ package Synth.Objtypes is
function Create_Protected_Type return Type_Acc;
+ function In_Bounds (Bnd : Bound_Type; V : Int32) return Boolean;
+ function In_Range (Rng : Discrete_Range_Type; V : Int64) return Boolean;
+
-- Return the bounds of dimension DIM of a vector/array. For a vector,
-- DIM must be 1.
function Get_Array_Bound (Typ : Type_Acc; Dim : Dim_Type)