Path: blob/master/thirdparty/graphite/src/gr_char_info.cpp
9903 views
// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later1// Copyright 2010, SIL International, All rights reserved.23#include <cassert>4#include "graphite2/Segment.h"5#include "inc/CharInfo.h"67extern "C"8{910unsigned int gr_cinfo_unicode_char(const gr_char_info* p/*not NULL*/)11{12assert(p);13return p->unicodeChar();14}151617int gr_cinfo_break_weight(const gr_char_info* p/*not NULL*/)18{19assert(p);20return p->breakWeight();21}2223int gr_cinfo_after(const gr_char_info *p/*not NULL*/)24{25assert(p);26return p->after();27}2829int gr_cinfo_before(const gr_char_info *p/*not NULL*/)30{31assert(p);32return p->before();33}3435size_t gr_cinfo_base(const gr_char_info *p/*not NULL*/)36{37assert(p);38return p->base();39}4041} // extern "C"424344