src/stringpair.h
changeset 832 8a54e3a6b155
parent 786 cd0c6d03e539
child 836 8e7dac747b49
     1.1 --- a/src/stringpair.h	Mon Jul 11 11:43:03 2016 +0200
     1.2 +++ b/src/stringpair.h	Mon Jul 11 12:08:39 2016 +0200
     1.3 @@ -63,17 +63,19 @@
     1.4  //
     1.5  //  caveat:
     1.6  //      the ownership of the value goes to the stringpair_list
     1.7 +//      next pointer explicitly set to NULL
     1.8  
     1.9  DYNAMIC_API stringpair_list_t *new_stringpair_list(stringpair_t *value);
    1.10  
    1.11  
    1.12 -// stringpair_list_dup() - duplicate a stringpair_list
    1.13 +// stringpair_list_dup() - duplicate a stringpair_list (deep copy)
    1.14  //
    1.15  //  parameters:
    1.16  //      src (in)                stringpair_list to copy
    1.17  //
    1.18  //  return value:
    1.19  //      pointer to stringpair_list_t object or NULL if out of memory
    1.20 +//      stringpair value copies created by this function belong to the returned list
    1.21  
    1.22  DYNAMIC_API stringpair_list_t *stringpair_list_dup(
    1.23          const stringpair_list_t *src