aboutsummaryrefslogtreecommitdiff
path: root/sys/qpoe/qpiogetrg.x
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 /sys/qpoe/qpiogetrg.x
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'sys/qpoe/qpiogetrg.x')
-rw-r--r--sys/qpoe/qpiogetrg.x19
1 files changed, 19 insertions, 0 deletions
diff --git a/sys/qpoe/qpiogetrg.x b/sys/qpoe/qpiogetrg.x
new file mode 100644
index 00000000..bc2b0272
--- /dev/null
+++ b/sys/qpoe/qpiogetrg.x
@@ -0,0 +1,19 @@
+# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
+
+include "qpio.h"
+
+# QPIO_GETRANGE -- Get the current range in X and Y within which events will
+# be extracted by qpio_getevents.
+
+int procedure qpio_getrange (io, vs, ve, maxdim)
+
+pointer io #I QPIO descriptor
+int vs[ARB] #O start vector (lower left corner)
+int ve[ARB] #O end vector (upper right corner)
+int maxdim #I vector length (ndim=2 at present)
+
+begin
+ call amovi (IO_VS(io,1), vs, maxdim)
+ call amovi (IO_VE(io,1), ve, maxdim)
+ return (NDIM)
+end