|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T g
Length: 1878 (0x756) Types: TextFile Names: »gs.h«
└─⟦a05ed705a⟧ Bits:30007078 DKUUG GNU 2/12/89 └─⟦ff23ba0e6⟧ »./ghostscript-1.3.tar.Z« └─⟦a24a58cd3⟧ └─⟦this⟧ »gs.h«
/* Copyright (C) 1989 Aladdin Enterprises. All rights reserved. Distributed by Free Software Foundation, Inc. This file is part of Ghostscript. Ghostscript is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. No author or distributor accepts responsibility to anyone for the consequences of using it or for whether it serves any particular purpose or works at all, unless he says so in writing. Refer to the Ghostscript General Public License for full details. Everyone is granted permission to copy, modify and redistribute Ghostscript, but only under the conditions described in the Ghostscript General Public License. A copy of this license is supposed to have been given to you along with Ghostscript so you can know your rights and responsibilities. It should be in a file named COPYING. Among other things, the copyright notice and this notice must be preserved on all copies. */ /* gs.h */ /* Common definitions for GhostScript library */ #include <stdio.h> #include "std.h" /* Representation of point. */ typedef struct gs_point_s { float x, y; } gs_point; /* So many routines use the graphics state */ /* that we may as well declare the abstract type here. */ typedef struct gs_state_s gs_state; /* A number of interfaces involve user-specified allocation */ /* and deallocation procedures, so we define the types here. */ /* For accountability, debugging, and error messages, */ /* we pass an identifying string to alloc and free. */ typedef char *(*gs_proc_alloc)(P2(uint size, char *client_name)); typedef void (*gs_proc_free)(P3(char *data, uint size, char *client_name)); typedef struct { gs_proc_alloc alloc; gs_proc_free free; } gs_memory_procs; /* We define our own versions of malloc and free that conform */ /* to the type just defined: */ char *gs_malloc(P2(uint, char *)); void gs_free(P3(char *, uint, char *));