mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-27 09:11:48 -07:00
Mv2 -> mvt
Copied from Perforce Change: 21887 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
1acd1f57f0
commit
9adca1ab38
2 changed files with 13 additions and 15 deletions
|
|
@ -1,7 +1,7 @@
|
|||
/* impl.h.mpscmv2: MEMORY POOL SYSTEM CLASS "MV2"
|
||||
/* impl.h.mpscmv2: MEMORY POOL SYSTEM CLASS "MVT"
|
||||
*
|
||||
* $HopeName: MMsrc!mpscmv2.h(MMdevel_gavinm_splay.4) $
|
||||
* Copyright (C) 1998 Harlequin Group plc. All rights reserved.
|
||||
* $HopeName: MMsrc!mpscmv2.h(trunk.2) $
|
||||
* Copyright (C) 1998 Harlequin Limited. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef mpscmv2_h
|
||||
|
|
@ -9,9 +9,9 @@
|
|||
|
||||
#include "mps.h"
|
||||
|
||||
/* The mv2 pool class has five extra parameters to mps_pool_create:
|
||||
/* The mvt pool class has five extra parameters to mps_pool_create:
|
||||
* mps_res_t mps_pool_create(mps_pool_t * pool, mps_arena_t arena,
|
||||
* mps_class_t mv2_class,
|
||||
* mps_class_t mvt_class,
|
||||
* size_t minimum_size,
|
||||
* size_t mean_size,
|
||||
* size_t maximum_size,
|
||||
|
|
@ -25,11 +25,11 @@
|
|||
* specified percentage, the pool will resort to a "first fit"
|
||||
* allocation policy.
|
||||
*/
|
||||
extern mps_class_t mps_class_mv2(void);
|
||||
extern mps_class_t mps_class_mvt(void);
|
||||
|
||||
/* The mv2 pool class supports two extensions to the pool protocol:
|
||||
/* The mvt pool class supports two extensions to the pool protocol:
|
||||
size and free_size. */
|
||||
extern size_t mps_mv2_free_size(mps_pool_t mps_pool);
|
||||
extern size_t mps_mv2_size(mps_pool_t mps_pool);
|
||||
extern size_t mps_mvt_free_size(mps_pool_t mps_pool);
|
||||
extern size_t mps_mvt_size(mps_pool_t mps_pool);
|
||||
|
||||
#endif /* mpscmv2_h */
|
||||
|
|
|
|||
|
|
@ -1,11 +1,9 @@
|
|||
/* impl.h.poolmv2: ELECTRONIC PUBLISHING DISPLAY LIST POOL
|
||||
/* impl.h.poolmv2: MANUAL VARIABLE-SIZED TEMPORAL POOL
|
||||
*
|
||||
* $HopeName: MMsrc!poolmv2.h(MMdevel_gavinm_splay.1) $
|
||||
* Copyright (C) 1998 Harlequin Group plc. All rights reserved.
|
||||
* $HopeName: MMsrc!poolmv2.h(trunk.2) $
|
||||
* Copyright (C) 1998 Harlequin Limited. All rights reserved.
|
||||
*
|
||||
* .purpose: The implementation of the new manual-variable pool class
|
||||
*
|
||||
* .readership: Any MPS developer
|
||||
*
|
||||
* .design: See design.mps.poolmv2
|
||||
*/
|
||||
|
|
@ -15,6 +13,6 @@
|
|||
|
||||
#include "mpm.h"
|
||||
|
||||
extern PoolClass PoolClassMV2(void);
|
||||
extern PoolClass PoolClassMVT(void);
|
||||
|
||||
#endif /* poolmv2_h */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue