scot_exceptions.h
422 Bytes
#ifndef SCOT_EXCEPTIONS_H
#define SCOT_EXCEPTIONS_H
#include <stdlib.h>
#include <scot/scot_types.h>
#define MALLOC_ERR 0x00
#define NULL_PTR_ERR 0x01
extern const char *scot_err_msg[];
void * exc_malloc (SIZE_T);
void * exc_malloc_fl (SIZE_T, const char *, int);
void check_null (const void *);
void check_null_fl (const void *, const char *, int);
#endif /* SCOT_EXCEPTIONS_H */