X-Git-Url: https://git.distorted.org.uk/~mdw/mLib/blobdiff_plain/0683223aa93d14e4b1d0620010392c518a3a6392..d4efbcd93c940ad522fcf8c601ec1829d2e0b10d:/arena.h diff --git a/arena.h b/arena.h index 05037f1..3cca9ec 100644 --- a/arena.h +++ b/arena.h @@ -7,7 +7,7 @@ * (c) 2000 Straylight/Edgeware */ -/*----- Licensing notice --------------------------------------------------* +/*----- Licensing notice --------------------------------------------------* * * This file is part of the mLib utilities library. * @@ -15,12 +15,12 @@ * it under the terms of the GNU Library General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. - * + * * mLib is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Library General Public License for more details. - * + * * You should have received a copy of the GNU Library General Public * License along with mLib; if not, write to the Free * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, @@ -45,7 +45,7 @@ typedef struct arena { const struct arena_ops *ops; } arena; - + typedef struct arena_ops { void *(*alloc)(arena */*a*/, size_t /*sz*/); void *(*realloc)(arena */*a*/, void */*p*/, size_t /*sz*/, size_t /*osz*/);