1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-21 20:13:29 -08:00

Expose bufferdetach

Copied from Perforce
 Change: 18731
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Nick Barnes 1997-09-11 13:00:57 +01:00
parent c22be39a82
commit 02f684cc6a
2 changed files with 5 additions and 4 deletions

View file

@ -1,6 +1,6 @@
/* impl.c.buffer: ALLOCATION BUFFER IMPLEMENTATION
*
* $HopeName: MMsrc!buffer.c(trunk.31) $
* $HopeName: MMsrc!buffer.c(trunk.32) $
* Copyright (C) 1997 The Harlequin Group Limited. All rights reserved.
*
* This is (part of) the implementation of allocation buffers.
@ -25,7 +25,7 @@
#include "mpm.h"
SRCID(buffer, "$HopeName: MMsrc!buffer.c(trunk.31) $");
SRCID(buffer, "$HopeName: MMsrc!buffer.c(trunk.32) $");
/* BufferCheck -- check consistency of a buffer */
@ -232,7 +232,7 @@ Res BufferInit(Buffer buffer, Pool pool, Rank rank)
/* BufferDetach -- detach a buffer from a segment */
static void BufferDetach(Buffer buffer, Pool pool)
void BufferDetach(Buffer buffer, Pool pool)
{
AVERT(Buffer, buffer);
AVER(BufferIsReady(buffer));

View file

@ -1,6 +1,6 @@
/* impl.h.mpm: MEMORY POOL MANAGER DEFINITIONS
*
* $HopeName: MMsrc!mpm.h(trunk.44) $
* $HopeName: MMsrc!mpm.h(trunk.45) $
* Copyright (C) 1997 The Harlequin Group Limited. All rights reserved.
*/
@ -504,6 +504,7 @@ extern Res BufferInit(Buffer buffer, Pool pool, Rank rank);
extern void BufferFinish(Buffer buffer);
extern Bool BufferIsReset(Buffer buffer);
extern Bool BufferIsReady(Buffer buffer);
extern void BufferDetach(Buffer buffer, Pool pool);
extern void BufferFlip(Buffer buffer);
extern Addr BufferScanLimit(Buffer buffer);
extern AP (BufferAP)(Buffer buffer);