utilitiec/src/utf8/utf-8.h
2024-06-13 15:28:21 +02:00

28 lines
1.1 KiB
C

/*
* This code is part of the strategy game operational-space.
* operational-space comes with ABSOLUTELY NO WARRANTY and is licensed under GPL-2.0.
* Copyright (C) 2024 VegOwOtenks, Sleppo04
*
* 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 the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef COMMON_UTF_8_H_
#define COMMON_UTF_8_H_
#include <stddef.h>
size_t UTF8_CodepointLength(const char* string);
const char* UTF8_NextCodepoint(const char* string);
#endif /* SRC_COMMON_UTF_UTF_8_H_ */