Ignore:
Timestamp:
Jan 8, 2002, 7:29:57 PM (24 years ago)
Author:
umoeller
Message:

Executable updates, mostly.

File:
1 edited

Legend:

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

    r113 r129  
    9191    typedef XSTRINITSET *PXSTRINITSET;
    9292
    93     void XWPENTRY xstrInitCopy(PXSTRING pxstr, const char *pcszSource, ULONG ulExtraAllocate);
    94     typedef void XWPENTRY XSTRINITCOPY(PXSTRING pxstr, const char *pcszSource, ULONG ulExtraAllocate);
    95     typedef XSTRINITCOPY *PXSTRINITCOPY;
     93    #if defined(__DEBUG_MALLOC_ENABLED__) && !defined(DONT_REPLACE_XSTR_MALLOC) // setup.h, helpers\memdebug.c
     94        #define xstrInitCopy(a, b, c) xstrInitCopyDebug((a), (b), (c), __FILE__, __LINE__, __FUNCTION__)
     95        void XWPENTRY xstrInitCopyDebug(PXSTRING pxstr,
     96                                        const char *pcszSource,
     97                                        ULONG ulExtraAllocate,
     98                                        const char *file,
     99                                        unsigned long line,
     100                                        const char *function);
     101        typedef void XWPENTRY XSTRINITCOPYDEBUG(PXSTRING pxstr,
     102                                                const char *pcszSource,
     103                                                ULONG ulExtraAllocate,
     104                                                const char *file,
     105                                                unsigned long line,
     106                                                const char *function);
     107        typedef XSTRINITCOPYDEBUG *PXSTRINITCOPYDEBUG;
     108    #else
     109        void XWPENTRY xstrInitCopy(PXSTRING pxstr, const char *pcszSource, ULONG ulExtraAllocate);
     110        typedef void XWPENTRY XSTRINITCOPY(PXSTRING pxstr, const char *pcszSource, ULONG ulExtraAllocate);
     111        typedef XSTRINITCOPY *PXSTRINITCOPY;
     112    #endif
    96113
    97114    void XWPENTRY xstrClear(PXSTRING pxstr);
Note: See TracChangeset for help on using the changeset viewer.