943N/A/*
492N/A * dpsopstack.psw -- wrapped procedures for sending and getting operands
492N/A *
919N/A * (c) Copyright 1988-1994 Adobe Systems Incorporated.
919N/A * All rights reserved.
919N/A *
919N/A * Permission to use, copy, modify, distribute, and sublicense this software
919N/A * and its documentation for any purpose and without fee is hereby granted,
919N/A * provided that the above copyright notices appear in all copies and that
919N/A * both those copyright notices and this permission notice appear in
919N/A * supporting documentation and that the name of Adobe Systems Incorporated
919N/A * not be used in advertising or publicity pertaining to distribution of the
919N/A * software without specific, written prior permission. No trademark license
919N/A * to use the Adobe trademarks is hereby granted. If the Adobe trademark
919N/A * "Display PostScript"(tm) is used to describe this software, its
919N/A * functionality or for any other purpose, such use shall be limited to a
919N/A * statement that this software works in conjunction with the Display
919N/A * PostScript system. Proper trademark attribution to reflect Adobe's
919N/A * ownership of the trademark shall be given whenever any such reference to
919N/A * the Display PostScript system is made.
492N/A *
492N/A * ADOBE MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THE SOFTWARE FOR
492N/A * ANY PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
492N/A * ADOBE DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
492N/A * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
492N/A * NON- INFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL ADOBE BE LIABLE
908N/A * TO YOU OR ANY OTHER PARTY FOR ANY SPECIAL, INDIRECT, OR CONSEQUENTIAL
492N/A * DAMAGES OR ANY DAMAGES WHATSOEVER WHETHER IN AN ACTION OF CONTRACT,
492N/A * NEGLIGENCE, STRICT LIABILITY OR ANY OTHER ACTION ARISING OUT OF OR IN
908N/A * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ADOBE WILL NOT
492N/A * PROVIDE ANY TRAINING OR OTHER SUPPORT FOR THE SOFTWARE.
492N/A *
908N/A * Adobe, PostScript, and Display PostScript are trademarks of Adobe Systems
492N/A * Incorporated which may be registered in certain jurisdictions
492N/A *
908N/A * Author: Adobe Systems Incorporated
492N/A */
492N/A
defineps DPSgetboolean(DPSContext ctxt | boolean *it)
it
endps
defineps DPSgetchararray(DPSContext ctxt; int size | char s[size])
s
endps
defineps DPSgetfloat(DPSContext ctxt | float *it)
it
endps
defineps DPSgetfloatarray(DPSContext ctxt; int size | float a[size])
dup type /arraytype eq { a } { size { a } repeat } ifelse
endps
defineps DPSgetint(DPSContext ctxt | int *it)
it
endps
defineps DPSgetintarray(DPSContext ctxt; int size | int a[size])
dup type /arraytype eq { a } { size { a } repeat } ifelse
endps
defineps DPSgetstring(DPSContext ctxt | char *s)
s
endps
defineps DPSsendboolean(DPSContext ctxt; boolean it)
it
endps
defineps DPSsendchararray(DPSContext ctxt; char s[size]; int size)
(s)
endps
defineps DPSsendfloat(DPSContext ctxt; float it)
it
endps
defineps DPSsendfloatarray(DPSContext ctxt; float a[size]; int size)
a
endps
defineps DPSsendint(DPSContext ctxt; int it)
it
endps
defineps DPSsendintarray(DPSContext ctxt; int a[size]; int size)
a
endps
defineps DPSsendstring(DPSContext ctxt; char *s)
(s)
endps