9#include "../include_cii/except.h"
10#include "../include_cii/mem.h"
11const Except_T
Mem_Failed = { (
char*)
"Allocation Failed" };
12void *
Mem_alloc(
long nbytes,
const char *file,
int line){
26 const char *file,
int line) {
30 ptr = calloc(count, nbytes);
40void Mem_free(
void *ptr,
const char *file,
int line) {
45 const char *file,
int line) {
48 ptr = realloc(ptr, nbytes);
void Except_raise(const T *e, const char *file, int line)
void * Mem_calloc(long count, long nbytes, const char *file, int line)
const Except_T Mem_Failed
void * Mem_alloc(long nbytes, const char *file, int line)
void Mem_free(void *ptr, const char *file, int line)
void * Mem_resize(void *ptr, long nbytes, const char *file, int line)