sprint 1-alpha
|
some old fashioned API to alloc/free memory and copy strings More...
Go to the source code of this file.
Classes | |
struct | _HEAPSTATS |
Defines | |
#define | my_alloc(size) malloc(size) |
#define | mem_free(ptr) free(ptr) |
#define | my_free(ptr) if(ptr) free(ptr) |
#define | clonestring(s) clone_string(s) |
Typedefs | |
typedef struct _HEAPSTATS | HEAPSTATS |
typedef struct _HEAPSTATS * | LPHEAPSTATS |
Functions | |
unsigned int | my_getsize (void *ptr) |
char * | clone_string (const char *src) |
char * | concatenate_string (const char *a, const char *b) |
char * | concatenate_string3 (const char *a, const char *b, const char *c) |
char * | clone_string_ext (const char *src, int max) |
char * | create_string (const char *format,...) |
const char * | memchrr (const char *src, char c, int len) |
int | crlfstr (char *dst, const char *src, int line_size) |
void * | clone_structure (void *source, unsigned int size) |
void | GetHeapStatistics (LPHEAPSTATS lphp) |
Implemented only on WIN32. |
some old fashioned API to alloc/free memory and copy strings