Difference for include/global.h from version 1.28 to 1.29


version 1.28 version 1.29
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_global_h =   * static char *rcsid_global_h =
  *   "$Id: global.h,v 1.28 2002/06/15 07:47:36 mwedel Exp $";   *   "$Id: global.h,v 1.29 2002/08/02 05:09:39 mwedel Exp $";
  */   */
   
 /*  /*
Line 59
 
Line 59
 typedef signed char sint8;  typedef signed char sint8;
 typedef unsigned short Fontindex;  typedef unsigned short Fontindex;
   
 #define DELETE_STRING(__str_)  free_string(__str_);__str_=NULL;  
   
   
 /* global stuff used by new skill/experience system -b.t.  /* global stuff used by new skill/experience system -b.t.
Line 233
 
Line 232
  * makes the code a bit cleaner when doing so.   * makes the code a bit cleaner when doing so.
  */   */
 #define FREE_AND_CLEAR(xyz) {free(xyz); xyz=NULL; }  #define FREE_AND_CLEAR(xyz) {free(xyz); xyz=NULL; }
   #define FREE_AND_CLEAR_STR(xyz) {free_string(xyz); xyz=NULL; }
   
 /* FREE_AND_COPY is for the shared string - it is handy enough  /* FREE_AND_COPY is for the shared string - it is handy enough
  * to use all over the place.   * to use all over the place.
  */   */
 #define FREE_AND_COPY(sv,nv) { if (sv) free_string(sv); sv=add_string(nv); }  #define FREE_AND_COPY(sv,nv) { if (sv) free_string(sv); sv=add_string(nv); }
   
   #define DELETE_STRING(__str_)  free_string(__str_);__str_=NULL;
   
 #ifdef CALLOC  #ifdef CALLOC
 #undef CALLOC  #undef CALLOC
 #endif  #endif


Legend:
line(s) removed in v.1.28 
line(s) changed
 line(s) added in v.1.29

File made using version 1.98 of cvs2html by leaf at 2011-07-21 19:22