Blame gllib/unictype/pr_diacritic.c

rpm-build 858c0f
/* Properties of Unicode characters.
rpm-build 858c0f
   Copyright (C) 2002, 2006-2007, 2009-2017 Free Software Foundation, Inc.
rpm-build 858c0f
   Written by Bruno Haible <bruno@clisp.org>, 2002.
rpm-build 858c0f
rpm-build 858c0f
   This program is free software: you can redistribute it and/or modify it
rpm-build 858c0f
   under the terms of the GNU General Public License as published
rpm-build 858c0f
   by the Free Software Foundation; either version 3 of the License, or
rpm-build 858c0f
   (at your option) any later version.
rpm-build 858c0f
rpm-build 858c0f
   This program is distributed in the hope that it will be useful,
rpm-build 858c0f
   but WITHOUT ANY WARRANTY; without even the implied warranty of
rpm-build 858c0f
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
rpm-build 858c0f
   General Public License for more details.
rpm-build 858c0f
rpm-build 858c0f
   You should have received a copy of the GNU General Public License
rpm-build 858c0f
   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
rpm-build 858c0f
rpm-build 858c0f
#include <config.h>
rpm-build 858c0f
rpm-build 858c0f
/* Specification.  */
rpm-build 858c0f
#include "unictype.h"
rpm-build 858c0f
rpm-build 858c0f
#include "bitmap.h"
rpm-build 858c0f
rpm-build 858c0f
/* Define u_property_diacritic table.  */
rpm-build 858c0f
#include "pr_diacritic.h"
rpm-build 858c0f
rpm-build 858c0f
bool
rpm-build 858c0f
uc_is_property_diacritic (ucs4_t uc)
rpm-build 858c0f
{
rpm-build 858c0f
  return bitmap_lookup (&u_property_diacritic, uc);
rpm-build 858c0f
}
rpm-build 858c0f
rpm-build 858c0f
const uc_property_t UC_PROPERTY_DIACRITIC =
rpm-build 858c0f
  { &uc_is_property_diacritic };