src/pEp_string.h
changeset 2440 3c45fce3ef40
parent 2378 b244047cdacc
child 4792 7056435ab9e7
     1.1 --- a/src/pEp_string.h	Tue Jan 23 20:53:17 2018 +0100
     1.2 +++ b/src/pEp_string.h	Wed Jan 24 11:11:20 2018 +0100
     1.3 @@ -20,12 +20,9 @@
     1.4  //  return value:
     1.5  //      pointer to string object or NULL if out of memory
     1.6  //
     1.7 -//  caveat:
     1.8 -//      one of the two parameters has to be set at least
     1.9 -//
    1.10  //  calling with str and len is equivalent to strndup()
    1.11  //  calling with str but len=0 is equivalent to strdup()
    1.12 -//  calling with str=NULL and len is equivalent to calloc()
    1.13 +//  calling with str=NULL is equivalent to calloc()
    1.14  
    1.15  DYNAMIC_API char * new_string(const char *src, size_t len);
    1.16