dynamic_array_str.h (1123B)
1 /* Copyright (C) 2013-2023, 2025 Vincent Forest (vaplv@free.fr) 2 * 3 * The RSys library is free software: you can redistribute it and/or modify 4 * it under the terms of the GNU General Public License as published 5 * by the Free Software Foundation, either version 3 of the License, or 6 * (at your option) any later version. 7 * 8 * The RSys library is distributed in the hope that it will be useful, 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * GNU General Public License for more details. 12 * 13 * You should have received a copy of the GNU General Public License 14 * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ 15 16 #ifndef DYNAMIC_ARRAY_STR_H 17 #define DYNAMIC_ARRAY_STR_H 18 19 #include "dynamic_array.h" 20 #include "str.h" 21 22 #define DARRAY_NAME str 23 #define DARRAY_DATA struct str 24 #define DARRAY_FUNCTOR_INIT str_init 25 #define DARRAY_FUNCTOR_COPY str_copy 26 #define DARRAY_FUNCTOR_RELEASE str_release 27 #define DARRAY_FUNCTOR_COPY_AND_RELEASE str_copy_and_release 28 #include "dynamic_array.h" 29 30 #endif /* DYNAMIC_ARRAY_STR_H */