diff options
author | Henry Stiles <henry.stiles@artifex.com> | 1998-08-08 06:14:25 +0000 |
---|---|---|
committer | Henry Stiles <henry.stiles@artifex.com> | 1998-08-08 06:14:25 +0000 |
commit | a54bb96de84363bd3ffc7696805c268babc95954 (patch) | |
tree | ab95f514d2831fa22cecdf942d2530b656a66d9e /gs/src/ialloc.h | |
parent | 3305477b99710b8ce6223a0bdd5014ced4de6997 (diff) |
This commit was generated by cvs2svn to compensate for changes in r279,
which included commits to RCS files with non-trunk default branches.
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@280 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'gs/src/ialloc.h')
-rw-r--r-- | gs/src/ialloc.h | 46 |
1 files changed, 24 insertions, 22 deletions
diff --git a/gs/src/ialloc.h b/gs/src/ialloc.h index 6d4ff3631..7bcd4f802 100644 --- a/gs/src/ialloc.h +++ b/gs/src/ialloc.h @@ -1,22 +1,22 @@ /* Copyright (C) 1989, 1995 Aladdin Enterprises. All rights reserved. - - This file is part of Aladdin Ghostscript. - - Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND. No author - or distributor accepts any responsibility for the consequences of using it, - or for whether it serves any particular purpose or works at all, unless he - or she says so in writing. Refer to the Aladdin Ghostscript Free Public - License (the "License") for full details. - - Every copy of Aladdin Ghostscript must include a copy of the License, - normally in a plain ASCII text file named PUBLIC. The License grants you - the right to copy, modify and redistribute Aladdin Ghostscript, but only - under certain conditions described in the License. Among other things, the - License requires that the copyright notice and this notice be preserved on - all copies. -*/ - -/* ialloc.h */ + + This file is part of Aladdin Ghostscript. + + Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND. No author + or distributor accepts any responsibility for the consequences of using it, + or for whether it serves any particular purpose or works at all, unless he + or she says so in writing. Refer to the Aladdin Ghostscript Free Public + License (the "License") for full details. + + Every copy of Aladdin Ghostscript must include a copy of the License, + normally in a plain ASCII text file named PUBLIC. The License grants you + the right to copy, modify and redistribute Aladdin Ghostscript, but only + under certain conditions described in the License. Among other things, the + License requires that the copyright notice and this notice be preserved on + all copies. + */ + +/*Id: ialloc.h */ /* Interface to Ghostscript interpreter memory allocator */ #ifndef ialloc_INCLUDED @@ -28,6 +28,7 @@ * Define the interpreter memory manager instance. */ extern gs_dual_memory_t gs_imemory; + #define idmemory (&gs_imemory) #define iimemory (gs_imemory.current) #define imemory ((gs_memory_t *)iimemory) @@ -57,7 +58,7 @@ extern gs_dual_memory_t gs_imemory; gs_free_string(imemory, data, nbytes, cname) /* Initialize the interpreter's allocator. */ -void ialloc_init(P3(gs_memory_t *, uint, bool)); +void ialloc_init(P3(gs_raw_memory_t *, uint, bool)); /* Resize a string. */ #define iresize_string(data, oldn, newn, cname)\ @@ -70,6 +71,7 @@ void ialloc_reset_requested(P1(gs_dual_memory_t *)); /* Validate the contents of memory. */ void ialloc_validate_spaces(P1(const gs_dual_memory_t *)); + #define ivalidate_spaces() ialloc_validate_spaces(idmemory) /* @@ -88,7 +90,7 @@ void ialloc_set_space(P2(gs_dual_memory_t *, uint)); * Ref-related facilities. */ -#ifdef r_type /* i.e., we know about refs */ +#ifdef r_type /* i.e., we know about refs */ /* Allocate and free ref arrays. */ #define ialloc_ref_array(paref, attrs, nrefs, cname)\ @@ -112,6 +114,6 @@ void ialloc_set_space(P2(gs_dual_memory_t *, uint)); #define make_iastruct_new(pref,attrs,ptr)\ make_astruct_new(pref, (attrs) | icurrent_space, ptr) -#endif /* ifdef r_type */ +#endif /* ifdef r_type */ -#endif /* ialloc_INCLUDED */ +#endif /* ialloc_INCLUDED */ |