diff options
| author | Mattias Andrée <maandree@kth.se> | 2018-11-16 20:18:22 +0100 | 
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2018-11-16 20:18:22 +0100 | 
| commit | 7dd38e5e36126e6e56d5d6e020e5df314233fa09 (patch) | |
| tree | a241f3e5fb5e259f91d9d226cd1fd56c2de024ea | |
| parent | Add strnisutf8 and memisutf8 (diff) | |
| download | libsimple-7dd38e5e36126e6e56d5d6e020e5df314233fa09.tar.gz libsimple-7dd38e5e36126e6e56d5d6e020e5df314233fa09.tar.bz2 libsimple-7dd38e5e36126e6e56d5d6e020e5df314233fa09.tar.xz  | |
memisutf8: string can be NULL (if n is 0)
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
| -rw-r--r-- | libsimple/mem.h | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/libsimple/mem.h b/libsimple/mem.h index 456256d..9b9e9c4 100644 --- a/libsimple/mem.h +++ b/libsimple/mem.h @@ -504,7 +504,7 @@ size_t libsimple_memrcaseeqlen(const void *, size_t, const void *, size_t);   *                              allows a two-byte encoding for NUL   * @return                      1 if good, 0 on encoding error   */ -_LIBSIMPLE_GCC_ONLY(__attribute__((__pure__, __nonnull__, __warn_unused_result__))) +_LIBSIMPLE_GCC_ONLY(__attribute__((__pure__, __warn_unused_result__)))  int libsimple_memisutf8(const char *, size_t, int);  #ifndef memisutf8  # define memisutf8 libsimple_memisutf8  | 
