Go to the documentation of this file.00001 #ifndef _DYLIB_STRRTNS_H
00002 #define _DYLIB_STRRTNS_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #include "dylib_std.h"
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 extern int cistrcmp(const char *str1, const char *str2),
00028 cimstrcmp(const char *str1, const char *str2),
00029 mstrcmp(const char *str1, const char *str2) ;
00030 extern char *strsave(char *original) ;
00031
00032 extern const char *stralloc(const char *string) ;
00033 extern bool strfree(const char *string) ;
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043 #if (MALLOC_DEBUG == 2)
00044
00045 #include "dylib_io.h"
00046
00047 const void *zz_cptr_zz ;
00048 ioid zz_chn_zz ;
00049
00050 #define STRALLOC(zz_sptr_zz) \
00051 ( zz_cptr_zz = (const void *) stralloc(zz_sptr_zz), \
00052 dyio_outfmt(zz_chn_zz,FALSE,":stralloc: %#08x (%s) in %s.\n", \
00053 zz_cptr_zz,zz_cptr_zz,rtnnme), \
00054 zz_cptr_zz )
00055
00056 #define STRFREE(zz_fptr_zz) \
00057 ( dyio_outfmt(zz_chn_zz,FALSE,":strfree: %#08x (%s) in %s.\n", \
00058 zz_fptr_zz,zz_fptr_zz,rtnnme), \
00059 strfree(zz_fptr_zz) )
00060
00061 #else
00062
00063 #define STRALLOC(zz_sptr_zz) stralloc(zz_sptr_zz)
00064
00065 #define STRFREE(zz_fptr_zz) strfree(zz_fptr_zz)
00066
00067 #endif
00068
00069
00070 #endif