src/cx/collection_base.h

Thu, 23 May 2024 20:31:37 +0200

author
Mike Becker <universe@uap-core.de>
date
Thu, 23 May 2024 20:31:37 +0200
changeset 855
35bcb3216c0d
parent 854
fe0d69d72bcd
permissions
-rw-r--r--

fix inconsistent use of item_size and elem_size

universe@854 1 /*
universe@854 2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
universe@854 3 *
universe@854 4 * Copyright 2024 Mike Becker, Olaf Wintermann All rights reserved.
universe@854 5 *
universe@854 6 * Redistribution and use in source and binary forms, with or without
universe@854 7 * modification, are permitted provided that the following conditions are met:
universe@854 8 *
universe@854 9 * 1. Redistributions of source code must retain the above copyright
universe@854 10 * notice, this list of conditions and the following disclaimer.
universe@854 11 *
universe@854 12 * 2. Redistributions in binary form must reproduce the above copyright
universe@854 13 * notice, this list of conditions and the following disclaimer in the
universe@854 14 * documentation and/or other materials provided with the distribution.
universe@854 15 *
universe@854 16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
universe@854 17 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
universe@854 18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
universe@854 19 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
universe@854 20 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
universe@854 21 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
universe@854 22 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
universe@854 23 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
universe@854 24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
universe@854 25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
universe@854 26 * POSSIBILITY OF SUCH DAMAGE.
universe@854 27 */
universe@854 28 /**
universe@854 29 * \file collection_base.h
universe@854 30 * \brief Include this file in your collection struct to declare common members.
universe@854 31 * \author Mike Becker
universe@854 32 * \author Olaf Wintermann
universe@854 33 * \copyright 2-Clause BSD License
universe@854 34 */
universe@854 35

mercurial