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/gio/gescape.x | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'sys/gio/gescape.x')
-rw-r--r-- | sys/gio/gescape.x | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sys/gio/gescape.x b/sys/gio/gescape.x new file mode 100644 index 00000000..c6a1bf63 --- /dev/null +++ b/sys/gio/gescape.x @@ -0,0 +1,19 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include <gio.h> + +# GESCAPE -- Pass a device dependent instruction on to the graphics kernel. +# A unique function code should be assigned each escape function. The graphics +# kernel will ignore escapes with unrecognized function codes. + +procedure gescape (gp, fn, instruction, nwords) + +pointer gp # graphics descriptor +int fn # function code (1 - 32767) +short instruction[ARB] # instruction to be transmitted +int nwords # length of instruction + +begin + call gpl_flush() + call gki_escape (GP_FD(gp), fn, instruction, nwords) +end |