#include <stdlib.h>
Go to the source code of this file.
|
#define | Malloc(size) Pl_Malloc_Check(size, __FILE__, __LINE__) |
|
#define | Calloc(nb, size) Pl_Calloc_Check(nb, size, __FILE__, __LINE__) |
|
#define | Realloc(ptr, size) Pl_Realloc_Check(ptr, size, __FILE__, __LINE__) |
|
#define | Free(ptr) free(ptr) |
|
#define | Strdup(str) Pl_Strdup_Check(str, __FILE__, __LINE__) |
|
#define | Pl_Least_Significant_Bit(x) Pl_LSB(x) |
|
#define | Pl_Most_Significant_Bit(x) Pl_MSB(x) |
|
#define | Pl_Count_Set_Bits(x) Pl_Popcount(x) |
|
|
char * | Pl_Malloc_Check (unsigned size, char *src_file, int src_line) |
|
char * | Pl_Calloc_Check (unsigned nb, unsigned size, char *src_file, int src_line) |
|
char * | Pl_Realloc_Check (char *ptr, unsigned size, char *src_file, int src_line) |
|
char * | Pl_Strdup_Check (char *str, char *src_file, int src_line) |
|
void | Pl_Extend_Table_If_Needed (char **hash_tbl) |
|
void | Pl_Extend_Array (char **ptbl, int *nb_elem, int elem_size, Bool bzero) |
|
void | Pl_Exit_With_Value (int ret_val) |
|
void | Pl_Fatal_Error (char *format,...) |
|
int | Pl_LSB (PlLong x) |
|
int | Pl_MSB (PlLong x) |
|
int | Pl_Popcount (PlLong x) |
|
void * | Pl_Dummy_Ptr (void *p) |
|
#define Free |
( |
|
ptr | ) |
free(ptr) |
#define Pl_Least_Significant_Bit |
( |
|
x | ) |
Pl_LSB(x) |
#define Pl_Most_Significant_Bit |
( |
|
x | ) |
Pl_MSB(x) |
char* Pl_Calloc_Check |
( |
unsigned |
nb, |
|
|
unsigned |
size, |
|
|
char * |
src_file, |
|
|
int |
src_line |
|
) |
| |
void* Pl_Dummy_Ptr |
( |
void * |
p | ) |
|
void Pl_Exit_With_Value |
( |
int |
ret_val | ) |
|
void Pl_Extend_Array |
( |
char ** |
ptbl, |
|
|
int * |
nb_elem, |
|
|
int |
elem_size, |
|
|
Bool |
bzero |
|
) |
| |
void Pl_Extend_Table_If_Needed |
( |
char ** |
hash_tbl | ) |
|
void Pl_Fatal_Error |
( |
char * |
format, |
|
|
|
... |
|
) |
| |
char* Pl_Malloc_Check |
( |
unsigned |
size, |
|
|
char * |
src_file, |
|
|
int |
src_line |
|
) |
| |
char* Pl_Realloc_Check |
( |
char * |
ptr, |
|
|
unsigned |
size, |
|
|
char * |
src_file, |
|
|
int |
src_line |
|
) |
| |
char* Pl_Strdup_Check |
( |
char * |
str, |
|
|
char * |
src_file, |
|
|
int |
src_line |
|
) |
| |