From 565a4bd035b9d4a83955808efef20f1d8dfa24cf Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Thu, 18 Mar 1999 16:34:52 +0000 Subject: New git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@776 4e78687f-474d-0410-85f9-8d5e500ac6b2 --- src/pj_malloc.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/pj_malloc.c (limited to 'src/pj_malloc.c') diff --git a/src/pj_malloc.c b/src/pj_malloc.c new file mode 100644 index 00000000..6beb502a --- /dev/null +++ b/src/pj_malloc.c @@ -0,0 +1,16 @@ +/* allocate and deallocate memory */ +#ifndef lint +static const char SCCSID[]="@(#)pj_malloc.c 4.3 93/06/12 GIE REL"; +#endif +/* These routines are used so that applications can readily replace +** projection system memory allocation/deallocation call with custom +** application procedures. */ +#include + void * +pj_malloc(size_t size) { + return(malloc(size)); +} + void +pj_dalloc(void *ptr) { + free(ptr); +} -- cgit v1.2.3