ucx/string.h

changeset 225
a1a068c2c4ef
parent 214
2bc19726c340
child 233
bd58fdde142d
     1.1 --- a/ucx/string.h	Thu Sep 08 12:04:01 2016 +0200
     1.2 +++ b/ucx/string.h	Thu Sep 08 15:12:56 2016 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  /*
     1.5   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
     1.6   *
     1.7 - * Copyright 2015 Olaf Wintermann. All rights reserved.
     1.8 + * Copyright 2016 Olaf Wintermann. All rights reserved.
     1.9   *
    1.10   * Redistribution and use in source and binary forms, with or without
    1.11   * modification, are permitted provided that the following conditions are met:
    1.12 @@ -137,7 +137,7 @@
    1.13  sstr_t sstrcat(size_t count, sstr_t s1, sstr_t s2, ...);
    1.14  
    1.15  /**
    1.16 - * Concatenates two or more strings using an UcxAllocator.
    1.17 + * Concatenates two or more strings using a UcxAllocator.
    1.18   * 
    1.19   * See sstrcat() for details.
    1.20   *
    1.21 @@ -277,7 +277,7 @@
    1.22  sstr_t* sstrsplit(sstr_t string, sstr_t delim, ssize_t *count);
    1.23  
    1.24  /**
    1.25 - * Performing sstrsplit() using an UcxAllocator.
    1.26 + * Performing sstrsplit() using a UcxAllocator.
    1.27   * 
    1.28   * <i>Read the description of sstrsplit() for details.</i>
    1.29   * 
    1.30 @@ -348,7 +348,7 @@
    1.31  sstr_t sstrdup(sstr_t string);
    1.32  
    1.33  /**
    1.34 - * Creates a duplicate of the specified string using an UcxAllocator.
    1.35 + * Creates a duplicate of the specified string using a UcxAllocator.
    1.36   * 
    1.37   * The new sstr_t will contain a copy allocated by the allocators
    1.38   * ucx_allocator_malloc function. So it is implementation depended, whether the
    1.39 @@ -358,7 +358,7 @@
    1.40   * The sstr_t.ptr of the return value will <i>always</i> be <code>NULL</code>-
    1.41   * terminated.
    1.42   * 
    1.43 - * @param allocator a valid instance of an UcxAllocator
    1.44 + * @param allocator a valid instance of a UcxAllocator
    1.45   * @param string the string to duplicate
    1.46   * @return a duplicate of the string
    1.47   * @see sstrdup()

mercurial