![]() |
GNU PROLOG with UTF8 support
|
#include "gp_config.h"
#include "machine.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include "engine_pl.h"
#include "../Linedit/linedit.h"
Macros | |
#define | ERR_ALLOC_FAULT "Memory allocation fault (%s) in %s:%d" |
Functions | |
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 ERR_ALLOC_FAULT "Memory allocation fault (%s) in %s:%d" |
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, |
... | |||
) |
int Pl_LSB | ( | PlLong | x | ) |
char* Pl_Malloc_Check | ( | unsigned | size, |
char * | src_file, | ||
int | src_line | ||
) |
int Pl_MSB | ( | PlLong | x | ) |
int Pl_Popcount | ( | PlLong | x | ) |
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 | ||
) |