/* Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001 Aladdin Enterprises. All rights reserved. This software is provided AS-IS with no warranty, either express or implied. This software is distributed under license and may not be copied, modified or distributed except as expressly authorized under the terms of the license contained in the file LICENSE in this distribution. For more information about licensing, please refer to http://www.ghostscript.com/licensing/. For information on commercial licensing, go to http://www.artifex.com/licensing/ or contact Artifex Software, Inc., 101 Lucas Valley Road #110, San Rafael, CA 94903, U.S.A., +1(415)492-9861. */ /* $Id: iconf.c,v 1.7 2004/01/22 09:16:30 giles Exp $ */ /* Configuration-dependent tables and initialization for interpreter */ #include "stdio_.h" /* stdio for stream.h */ #include "gstypes.h" #include "gsmemory.h" /* for iminst.h */ #include "gconfigd.h" #include "iref.h" #include "ivmspace.h" #include "opdef.h" #include "ifunc.h" #include "iapi.h" #include "iminst.h" #include "iplugin.h" /* Define the default values for an interpreter instance. */ const gs_main_instance gs_main_instance_init_values = {gs_main_instance_default_init_values}; /* Set up the .ps file name string array. */ /* We fill in the lengths at initialization time. */ #define ref_(t) struct { struct tas_s tas; t value; } #define string_(s,len)\ { { (t_string<