GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
unictype-wrappers.c
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 //
3 // Copyright (C) 2018-2024 The Octave Project Developers
4 //
5 // See the file COPYRIGHT.md in the top-level directory of this
6 // distribution or <https://octave.org/copyright/>.
7 //
8 // This file is part of Octave.
9 //
10 // Octave is free software: you can redistribute it and/or modify it
11 // under the terms of the GNU General Public License as published by
12 // the Free Software Foundation, either version 3 of the License, or
13 // (at your option) any later version.
14 //
15 // Octave is distributed in the hope that it will be useful, but
16 // WITHOUT ANY WARRANTY; without even the implied warranty of
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 // GNU General Public License for more details.
19 //
20 // You should have received a copy of the GNU General Public License
21 // along with Octave; see the file COPYING. If not, see
22 // <https://www.gnu.org/licenses/>.
23 //
24 ////////////////////////////////////////////////////////////////////////
25 
26 #if defined (HAVE_CONFIG_H)
27 # include "config.h"
28 #endif
29 
30 #include "unictype.h"
31 
32 #include "unictype-wrappers.h"
33 
34 bool
36 {
37  return uc_is_alnum (uc);
38 }
39 
40 bool
42 {
43  return uc_is_alpha (uc);
44 }
45 
46 bool
48 {
49  return uc_is_blank (uc);
50 }
51 
52 bool
54 {
55  return uc_is_cntrl (uc);
56 }
57 
58 bool
60 {
61  return uc_is_digit (uc);
62 }
63 
64 bool
66 {
67  return uc_is_graph (uc);
68 }
69 
70 bool
72 {
73  return uc_is_lower (uc);
74 }
75 
76 bool
78 {
79  return uc_is_print (uc);
80 }
81 
82 bool
84 {
85  return uc_is_punct (uc);
86 }
87 
88 bool
90 {
91  return uc_is_space (uc);
92 }
93 
94 bool
96 {
97  return uc_is_upper (uc);
98 }
99 
100 bool
102 {
103  return uc_is_xdigit (uc);
104 }
bool octave_uc_is_upper_wrapper(ucs4_t uc)
bool octave_uc_is_digit_wrapper(ucs4_t uc)
bool octave_uc_is_lower_wrapper(ucs4_t uc)
bool octave_uc_is_print_wrapper(ucs4_t uc)
bool octave_uc_is_alnum_wrapper(ucs4_t uc)
bool octave_uc_is_blank_wrapper(ucs4_t uc)
bool octave_uc_is_space_wrapper(ucs4_t uc)
bool octave_uc_is_cntrl_wrapper(ucs4_t uc)
bool octave_uc_is_xdigit_wrapper(ucs4_t uc)
bool octave_uc_is_alpha_wrapper(ucs4_t uc)
bool octave_uc_is_graph_wrapper(ucs4_t uc)
bool octave_uc_is_punct_wrapper(ucs4_t uc)
uint32_t ucs4_t