Ignore:
Timestamp:
Aug 2, 2001, 10:36:35 PM (24 years ago)
Author:
umoeller
Message:

Misc changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/helpers/stringh.h

    r81 r91  
    3232    #define STRINGH_HEADER_INCLUDED
    3333
    34     PSZ strhdup(const char *pszSource);
     34    PSZ strhcpy(PSZ string1, const char *string2);
     35
     36    #if defined(__DEBUG_MALLOC_ENABLED__) && !defined(DONT_REPLACE_STRINGH_MALLOC) // setup.h, helpers\memdebug.c
     37        PSZ strhdupDebug(const char *pszSource,
     38                         const char *pcszSourceFile,
     39                         unsigned long ulLine,
     40                         const char *pcszFunction);
     41        #define strhdup(a) strhdupDebug((a), __FILE__, __LINE__, __FUNCTION__)
     42    #else
     43        PSZ strhdup(const char *pszSource);
     44    #endif
    3545
    3646    int strhcmp(const char *p1, const char *p2);
     
    4858    BOOL strhIsDecimal(PSZ psz);
    4959
    50     PSZ strhSubstr(const char *pBegin, const char *pEnd);
     60    #if defined(__DEBUG_MALLOC_ENABLED__) && !defined(DONT_REPLACE_STRINGH_MALLOC) // setup.h, helpers\memdebug.c
     61        PSZ strhSubstrDebug(const char *pBegin,      // in: first char
     62                            const char *pEnd,        // in: last char (not included)
     63                            const char *pcszSourceFile,
     64                            unsigned long ulLine,
     65                            const char *pcszFunction);
     66        #define strhSubstr(a, b) strhSubstrDebug((a), (b), __FILE__, __LINE__, __FUNCTION__)
     67    #else
     68        PSZ strhSubstr(const char *pBegin, const char *pEnd);
     69    #endif
    5170
    5271    PSZ strhExtract(PSZ pszBuf,
Note: See TracChangeset for help on using the changeset viewer.