diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /sys/qpoe/qpiogetrg.x | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'sys/qpoe/qpiogetrg.x')
-rw-r--r-- | sys/qpoe/qpiogetrg.x | 19 |
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 |