mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-11 05:17:36 +08:00
26 lines
619 B
C
26 lines
619 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* palloc.h--
|
|
* POSTGRES memory allocator definitions.
|
|
*
|
|
*
|
|
* Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* $Id: palloc.h,v 1.5 1997/09/08 02:39:53 momjian Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef PALLOC_H
|
|
#define PALLOC_H
|
|
|
|
#include <c.h>
|
|
|
|
extern void *palloc(Size size);
|
|
extern void pfree(void *pointer);
|
|
extern void *repalloc(void *pointer, Size size);
|
|
|
|
/* like strdup except uses palloc */
|
|
extern char *pstrdup(char *pointer);
|
|
|
|
#endif /* PALLOC_H */
|