Browse Source

documentation adaption

doc_update_sequoia
Volker Birk 6 years ago
parent
commit
65abafe5e7
2 changed files with 4 additions and 2 deletions
  1. +2
    -0
      src/stringpair.c
  2. +2
    -2
      src/stringpair.h

+ 2
- 0
src/stringpair.c View File

@ -10,6 +10,8 @@ DYNAMIC_API stringpair_t * new_stringpair(const char *key, const char *value)
{
stringpair_t *pair = NULL;
// key and value should not be NULL, that's bad style (while legal)
assert(key);
assert(value);


+ 2
- 2
src/stringpair.h View File

@ -16,8 +16,8 @@ typedef struct _stringpair_t {
// new_stringpair() - allocate new stringpair_t
//
// parameters:
// key (in) utf-8 string used as key; may point to "" but must not be NULL!
// value (in) utf-8 string containing the value; may point to "" but must not be NULL!
// key (in) utf-8 string used as key, should not be NULL
// value (in) utf-8 string containing the value, should not be NULL
//
// return value:
// pointer to stringpair_t or NULL on failure


Loading…
Cancel
Save