X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/47854c5fdbdebaf707de438f0fa86c4cb99d2268..16b0fea8ae1a581d568dbee2efa2932aa4e6fcce:/lib/vector.h diff --git a/lib/vector.h b/lib/vector.h index 5bd9b97..fdef9cf 100644 --- a/lib/vector.h +++ b/lib/vector.h @@ -1,6 +1,6 @@ /* * This file is part of DisOrder. - * Copyright (C) 2004, 2005, 2007, 2008 Richard Kettlewell + * Copyright (C) 2004, 2005, 2007-2009, 2013 Richard Kettlewell * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -79,6 +79,8 @@ VECTOR_TYPE(vector, char *, xrealloc); /** @brief A dynamic string */ VECTOR_TYPE(dynstr, char, xrealloc_noptr); /** @brief A dynamic unicode string */ +VECTOR_TYPE(dynstr_utf16, uint16_t, xrealloc_noptr); +/** @brief A dynamic wide character string */ VECTOR_TYPE(dynstr_ucs4, uint32_t, xrealloc_noptr); /** @brief A dynamic array of pointers to unicode string */ VECTOR_TYPE(vector32, uint32_t *, xrealloc);