mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
26 lines
614 B
C
26 lines
614 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* palloc.h--
|
|
* POSTGRES memory allocator definitions.
|
|
*
|
|
*
|
|
* Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* $Id: palloc.h,v 1.6 1998/09/01 04:39:24 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 */
|