#include <stdlib.h>
#include <math.h>
#include <string.h>
#include "pelib/set.c"
#include "pelib/pair.c"
#include "pelib/iterator.c"
#include "pelib/map.c"
Go to the source code of this file.
Defines |
#define | debug(var) printf("[%s:%s:%d] %s = \"%s\"\n", __FILE__, __FUNCTION__, __LINE__, #var, var); fflush(NULL) |
#define | debug_addr(var) printf("[%s:%s:%d] %s = \"%p\"\n", __FILE__, __FUNCTION__, __LINE__, #var, var); fflush(NULL) |
#define | debug_int(var) printf("[%s:%s:%d] %s = \"%d\"\n", __FILE__, __FUNCTION__, __LINE__, #var, var); fflush(NULL) |
#define | debug_size_t(var) printf("[%s:%s:%d] %s = \"%zu\"\n", __FILE__, __FUNCTION__, __LINE__, #var, var); fflush(NULL) |
#define | SET_T string |
#define | PAIR_KEY_T string |
#define | PAIR_VALUE_T string |
#define | ITERATOR_T string |
#define | ITERATOR_T pair_t(string, string) |
#define | MAP_KEY_T string |
#define | MAP_VALUE_T string |
#define | SET_T pair_t(string, string) |
Functions |
int pelib_alloc_buffer() | string (string *str, size_t n) |
int pelib_set_buffer() | string (string *str, void *buffer, size_t n) |
int pelib_copy() | string (string s1, string *s2) |
int pelib_init() | string (string *val) |
int pelib_destroy() | string (string val) |
int pelib_compare() | string (string a, string b) |
char *pelib_string_detail() | string (string a, int level) |
FILE *pelib_printf() | string (FILE *stream, string a) |
Define Documentation
#define debug |
( |
|
var | ) |
printf("[%s:%s:%d] %s = \"%s\"\n", __FILE__, __FUNCTION__, __LINE__, #var, var); fflush(NULL) |
#define debug_addr |
( |
|
var | ) |
printf("[%s:%s:%d] %s = \"%p\"\n", __FILE__, __FUNCTION__, __LINE__, #var, var); fflush(NULL) |
#define debug_int |
( |
|
var | ) |
printf("[%s:%s:%d] %s = \"%d\"\n", __FILE__, __FUNCTION__, __LINE__, #var, var); fflush(NULL) |
#define debug_size_t |
( |
|
var | ) |
printf("[%s:%s:%d] %s = \"%zu\"\n", __FILE__, __FUNCTION__, __LINE__, #var, var); fflush(NULL) |
Function Documentation