X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/cdabf44d4bf72678b402c0fd7dac394eb36513da..HEAD:/lib/vector.h diff --git a/lib/vector.h b/lib/vector.h index da84784..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-2009 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);