APPFS
Advanced practical programming for scientists
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
allocate.h
Go to the documentation of this file.
1 
6 #ifndef _ALLOCATE_H_
7 #define _ALLOCATE_H_
8 
9 /*lint -sem( allocate, 1n > 0 && 2n > 0, @p) */
10 extern void* allocate(int elems, int size);
11 /*lint -sem( deallocate, custodial(1), 1p) */
12 extern void deallocate(void* p);
13 
14 #endif /* _ALLOCATE_H_ */
void deallocate(void *p)
Free allocated memory.
Definition: allocate.c:47
void * allocate(int elems, int size)
Allocate memory.
Definition: allocate.c:23