home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1996 February / PCWK0296.iso / sharewar / dos / program / gs300sr1 / gs300sr1.exe / INTERP.H < prev    next >
Text File  |  1994-07-27  |  2KB  |  44 lines

  1. /* Copyright (C) 1994 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of Aladdin Ghostscript.
  4.   
  5.   Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author
  6.   or distributor accepts any responsibility for the consequences of using it,
  7.   or for whether it serves any particular purpose or works at all, unless he
  8.   or she says so in writing.  Refer to the Aladdin Ghostscript Free Public
  9.   License (the "License") for full details.
  10.   
  11.   Every copy of Aladdin Ghostscript must include a copy of the License,
  12.   normally in a plain ASCII text file named PUBLIC.  The License grants you
  13.   the right to copy, modify and redistribute Aladdin Ghostscript, but only
  14.   under certain conditions described in the License.  Among other things, the
  15.   License requires that the copyright notice and this notice be preserved on
  16.   all copies.
  17. */
  18.  
  19. /* interp.h */
  20. /* Prototypes for procedures in interp.c and iinit.c */
  21.  
  22. /* ------ iinit.c ------ */
  23.  
  24. /* Enter a name and value into systemdict. */
  25. void initial_enter_name(P2(const char *, const ref *));
  26.  
  27. /* ------ interp.c ------ */
  28.  
  29. /* Look up an operator during initialization, */
  30. /* changing its type if appropriate. */
  31. void gs_interp_fix_op(P1(ref *));
  32.  
  33. /* Get the name corresponding to an error number. */
  34. int gs_errorname(P2(int, ref *));
  35.  
  36. /* Put a string in $error /errorinfo. */
  37. int gs_errorinfo_put_string(P1(const char *));
  38.  
  39. /* Initialize the interpreter. */
  40. void gs_interp_init(P0());
  41.  
  42. /* Reset the interpreter. */
  43. void gs_interp_reset(P0());
  44.