ucx/allocator.h

changeset 225
a1a068c2c4ef
parent 192
1e51558b9d09
child 250
b7d1317b138e
     1.1 --- a/ucx/allocator.h	Thu Sep 08 12:04:01 2016 +0200
     1.2 +++ b/ucx/allocator.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 @@ -28,7 +28,7 @@
    1.13  /**
    1.14   * Allocator for custom memory management.
    1.15   * 
    1.16 - * An UCX allocator consists of a pointer to the memory area / pool and four
    1.17 + * A UCX allocator consists of a pointer to the memory area / pool and four
    1.18   * function pointers to memory management functions operating on this memory
    1.19   * area / pool. These functions shall behave equivalent to the standard libc
    1.20   * functions <code>malloc(), calloc(), realloc()</code> and <code>free()</code>.
    1.21 @@ -38,7 +38,7 @@
    1.22   * memory area / pool as first argument.
    1.23   * 
    1.24   * As the pointer to the memory area / pool can be arbitrarily chosen, any data
    1.25 - * can be provided to the memory management functions. An UcxMempool is just
    1.26 + * can be provided to the memory management functions. A UcxMempool is just
    1.27   * one example.
    1.28   * 
    1.29   * @see mempool.h
    1.30 @@ -116,7 +116,7 @@
    1.31   * management functions. Use this function to get a pointer to a globally
    1.32   * available allocator. You may also define an own UcxAllocator by assigning
    1.33   * #UCX_ALLOCATOR_DEFAULT to a variable and pass the address of this variable
    1.34 - * to any function that takes an UcxAllocator as argument. Note that using
    1.35 + * to any function that takes a UcxAllocator as argument. Note that using
    1.36   * this function is the recommended way of passing a default allocator, thus
    1.37   * it never runs out of scope.
    1.38   * 

mercurial