mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-24 21:41:48 -08:00
57 lines
1 KiB
C
57 lines
1 KiB
C
/* impl.h.pooln
|
|
*
|
|
* NULL POOL
|
|
*
|
|
* $HopeName: MMsrc!pooln.h(MMdevel_restr2.2) $
|
|
*
|
|
* Copyright (C) 1995 Harlequin Group, all rights reserved
|
|
*
|
|
* The null pool class is here for pedagogical purposes. It is a
|
|
* skeleton of a pool class. The class exhibits all the generic pool
|
|
* functions; none of them have non-trivial implementations.
|
|
*
|
|
* The generic create method for this class takes no extra parameters.
|
|
*/
|
|
|
|
|
|
#ifndef pooln_h
|
|
#define pooln_h
|
|
|
|
|
|
#include "mpm.h"
|
|
|
|
|
|
/* Instance Type */
|
|
typedef struct PoolNStruct *PoolN;
|
|
|
|
|
|
#include "mpm.h"
|
|
|
|
|
|
/* PoolClass
|
|
*
|
|
* Returns the PoolClass for the null pool class
|
|
*/
|
|
|
|
extern PoolClass PoolClassN(void);
|
|
|
|
|
|
/* Validation
|
|
*
|
|
* Validates a PoolN object. This function conforms to the validation
|
|
* protocol defined in impl.h.valid
|
|
*/
|
|
|
|
extern Bool PoolNCheck(PoolN poolN);
|
|
|
|
|
|
/* Conversion
|
|
*
|
|
* Converts a PoolN object into a generic Pool object (so that you can
|
|
* apply generic pool methods).
|
|
*/
|
|
|
|
extern Pool (PoolNPool)(PoolN poolN);
|
|
|
|
|
|
#endif /* pooln_h */
|