mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-11 16:37:53 +02:00
27 lines
620 B
C
27 lines
620 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* palloc.h--
|
|
* POSTGRES memory allocator definitions.
|
|
*
|
|
*
|
|
* Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* $Id: palloc.h,v 1.3 1996/11/26 03:20:23 bryanh 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 */
|
|
|