From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- sys/imio/impmlne3.x | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 sys/imio/impmlne3.x (limited to 'sys/imio/impmlne3.x') diff --git a/sys/imio/impmlne3.x b/sys/imio/impmlne3.x new file mode 100644 index 00000000..f41c8e11 --- /dev/null +++ b/sys/imio/impmlne3.x @@ -0,0 +1,23 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include +include + +# IM_PMLNE3 -- Pixel mask line not empty. + +bool procedure im_pmlne3 (im, lineno, bandno) + +pointer im #I image descriptor +int lineno #I line number +int bandno #I band number + +long v[IM_MAXDIM] +bool pm_linenotempty() + +begin + call amovkl (1, v, IM_MAXDIM) + v[2] = lineno + v[3] = bandno + + return (pm_linenotempty (IM_PL(im), v)) +end -- cgit