Download this file
17 lines (16 with data), 417 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 <projects.h>
void *
pj_malloc(size_t size) {
return(malloc(size));
}
void
pj_dalloc(void *ptr) {
free(ptr);
}
|
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.