Diff for /libaitio/inc/aitio.h between versions 1.25 and 1.25.2.2

version 1.25, 2012/08/29 13:51:29 version 1.25.2.2, 2012/09/03 12:18:27
Line 245  typedef struct { Line 245  typedef struct {
                                                 void *__p = io_realloc(__val->val.string, AIT_LEN(__val) + __l); \                                                  void *__p = io_realloc(__val->val.string, AIT_LEN(__val) + __l); \
                                                 if (__p) { \                                                  if (__p) { \
                                                         AIT_LEN(__val) += __l; \                                                          AIT_LEN(__val) += __l; \
                                                           if (!__val->val.string) \
                                                                   memset(__p, 0, AIT_LEN(__val)); \
                                                         __val->val.string = __p; \                                                          __val->val.string = __p; \
                                                         strlcat((char*) __val->val.string, __s, \                                                          strlcat((char*) __val->val.string, __s, \
                                                                         AIT_LEN(__val)); \                                                                          AIT_LEN(__val)); \
Line 546  inline void io_freeVar(ait_val_t ** __restrict val); Line 548  inline void io_freeVar(ait_val_t ** __restrict val);
  * return: NULL error or new variable, after use free variable with io_freeVar()   * return: NULL error or new variable, after use free variable with io_freeVar()
  */   */
 ait_val_t *io_makeVar(ait_type_t type, ...);  ait_val_t *io_makeVar(ait_type_t type, ...);
   /*
    * io_sprintfVar() - Builtin string variable from formatted input
    *
    * @v = variable
    * @fmt = format string
    * @... = argument(s)
    * return: -1 error or >0 copied bytes to variable
    */
   int io_sprintfVar(ait_val_t * __restrict v, const char *fmt, ...);
 /*  /*
  * io_hashVar() - Generate hash key for variable from string or value   * io_hashVar() - Generate hash key for variable from string or value
  *   *

Removed from v.1.25  
changed lines
  Added in v.1.25.2.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>