Ignore:
Timestamp:
Dec 14, 2001, 11:41:33 PM (24 years ago)
Author:
umoeller
Message:

Lots of changes for icons and refresh.

File:
1 edited

Legend:

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

    r113 r123  
    6363
    6464    /*
     65     *@@ FREE:
     66     *      wrapper around the typical free() sequence.
     67     *
     68     *      Usage:
     69     *
     70     +          FREE(p)
     71     *
     72     *      This expands to:
     73     *
     74     +          if (p)
     75     +          {
     76     +              free(p);
     77     +              p = NULL;
     78     +          }
     79     *
     80     *@@added V0.9.16 (2001-12-08) [umoeller]
     81     */
     82
     83    #define FREE(ptr) if ((ptr)) { free(ptr); ptr = NULL; }
     84
     85    /*
    6586     *@@ ARRAYITEMCOUNT:
    6687     *      helpful macro to count the count of items
Note: See TracChangeset for help on using the changeset viewer.