Difference for include/define.h from version 1.64 to 1.65


version 1.64 version 1.65
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_define_h =   * static char *rcsid_define_h =
  *   "$Id: define.h,v 1.64 2003/02/14 05:50:32 garbled Exp $";   *   "$Id: define.h,v 1.65 2003/06/30 19:14:13 tchize Exp $";
  */   */
   
 /*  /*
Line 881
 
Line 881
 #endif  #endif
   
 #endif /* DEFINE_H */  #endif /* DEFINE_H */
   
   /* Code fastening defines
    * faststrcat & faststrncat will add buf2__ at position pointed by
    * buf__ and increment buf__ position so it will point to the end of buf__.
    * the '\0' caracter will not be put at end of buf__.
    * use preparefastcat and finishfastcat on buf__ to prepare
    * and clean up the string. (Lots faster than doing each time...)
    */
   
    #define PREPARE_FASTCAT(buf__) buf__+strlen(buf__)
    #define FAST_STRNCAT(buf__,buf2__,size__) {memcpy (buf__,buf2__,size__);buf__+=size__;}
    /*#define FAST_STRNCAT(buf__,buf2__,size__) {memcpy (buf__,buf2__,size__);buf__+=size__;\
    if (size__!=strlen(buf2__)) printf ("Error, bad length for %s\n",buf2__);}*/
    #define FAST_STRCAT(buf__,buf2__) {memcpy (buf__,buf2__,strlen(buf2__));buf__+=strlen(buf2__);}
    #define FINISH_FASTCAT(buf__) buf__[0]='\0';


Legend:
line(s) removed in v.1.64 
line(s) changed
 line(s) added in v.1.65

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