aboutsummaryrefslogtreecommitdiff
path: root/lib/pkg/rg.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pkg/rg.h')
-rw-r--r--lib/pkg/rg.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/pkg/rg.h b/lib/pkg/rg.h
new file mode 100644
index 00000000..0d068132
--- /dev/null
+++ b/lib/pkg/rg.h
@@ -0,0 +1,8 @@
+# Definitions for the RANGES structure.
+
+define LEN_RG 2
+
+define RG_NPTS Memi[$1] # Number of points in ranges
+define RG_NRGS Memi[$1+1] # Number of range intervals
+define RG_X1 Memi[$1+2*($2)] # Start of interval $2
+define RG_X2 Memi[$1+2*($2)+1] # End of interval $2