aboutsummaryrefslogtreecommitdiff
path: root/lib/pkg/rg.h
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /lib/pkg/rg.h
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
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