1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-06 06:11:42 -07:00

Move mvpool macro to header

Copied from Perforce
 Change: 21316
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Pekka Pirinen 2000-07-12 16:50:55 +01:00
parent 47f4bc7e7f
commit abc170f889

View file

@ -1,7 +1,7 @@
/* impl.c.poolmv: MANUAL VARIABLE POOL
*
* $HopeName: MMsrc!poolmv.c(trunk.38) $
* Copyright (C) 1999. Harlequin Limited. All rights reserved.
* $HopeName: MMsrc!poolmv.c(trunk.39) $
* Copyright (C) 1999 Harlequin Limited. All rights reserved.
*
* **** RESTRICTION: This pool may not allocate from the arena control
* pool, since it is used to implement that pool.
@ -30,13 +30,13 @@
#include "poolmfs.h"
#include "mpm.h"
SRCID(poolmv, "$HopeName: MMsrc!poolmv.c(trunk.38) $");
SRCID(poolmv, "$HopeName: MMsrc!poolmv.c(trunk.39) $");
#define BLOCKPOOL(mv) (MFSPool(&(mv)->blockPoolStruct))
#define SPANPOOL(mv) (MFSPool(&(mv)->spanPoolStruct))
#define PoolPoolMV(pool) PARENT(MVStruct, poolStruct, pool)
#define MVPool(mv) (&(mv)->poolStruct)
Pool (MVPool)(MV mv)
{