aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-04-11 14:56:15 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-04-11 14:56:15 +0200
commitd9dda44ced75c07b4e5b2897b74ca97ac7205ca7 (patch)
treee431b9f3fedb968bae4f276202a3029b2705a911 /include
parent44a4c7b28c2ed30b7c52ec2dd731880dca90605a (diff)
Add uprop_get_lb()
Diffstat (limited to 'include')
-rw-r--r--include/unicode/prop.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/include/unicode/prop.h b/include/unicode/prop.h
index ea1ef60..107a120 100644
--- a/include/unicode/prop.h
+++ b/include/unicode/prop.h
@@ -84,6 +84,57 @@ enum [[clang::__flag_enum__]] uprop_gc : uint_fast32_t {
GC_Z = GC_ZL | GC_ZP | GC_ZS, /* Separator */
};
+enum uprop_lb {
+ LB_XX, /* Unknown */
+ LB_AI, /* Ambiguous */
+ LB_AK, /* Aksara */
+ LB_AL, /* Alphabetic */
+ LB_AP, /* Aksara Prebase */
+ LB_AS, /* Aksara Start */
+ LB_B2, /* Break Both */
+ LB_BA, /* Break After */
+ LB_BB, /* Break Before */
+ LB_BK, /* Mandatory Break */
+ LB_CB, /* Contingent Break */
+ LB_CJ, /* Conditional Japanese_Starter */
+ LB_CL, /* Close Punctuation */
+ LB_CM, /* Combining Mark */
+ LB_CP, /* Close Parenthesis */
+ LB_CR, /* Carriage Return */
+ LB_EB, /* E Base */
+ LB_EM, /* E Modifier */
+ LB_EX, /* Exclamation */
+ LB_GL, /* Glue */
+ LB_H2, /* H2 */
+ LB_H3, /* H3 */
+ LB_HL, /* Hebrew Letter */
+ LB_HY, /* Hyphen */
+ LB_ID, /* Ideographic */
+ LB_IN, /* Inseparable */
+ LB_IS, /* Infix Numeric */
+ LB_JL, /* JL */
+ LB_JT, /* JT */
+ LB_JV, /* JV */
+ LB_LF, /* Line Feed */
+ LB_NL, /* Next Line */
+ LB_NS, /* Nonstarter */
+ LB_NU, /* Numeric */
+ LB_OP, /* Open Punctuation */
+ LB_PO, /* Postfix Numeric */
+ LB_PR, /* Prefix Numeric */
+ LB_QU, /* Quotation */
+ LB_RI, /* Regional Indicator */
+ LB_SA, /* Complex Context */
+ LB_SG, /* Surrogate */
+ LB_SP, /* Space */
+ LB_SY, /* Break Symbols */
+ LB_VF, /* Virama Final */
+ LB_VI, /* Virama */
+ LB_WJ, /* Word Joiner */
+ LB_ZWJ, /* ZWJ */
+ LB_ZW, /* ZWSpace */
+};
+
enum uprop_nt {
NT_NONE, /* None */
NT_DE, /* Decimal */
@@ -96,6 +147,7 @@ enum uprop_nt {
[[__nodiscard__, __unsequenced__]] enum uprop_dt uprop_get_dt(rune);
[[__nodiscard__, __unsequenced__]] enum uprop_ea uprop_get_ea(rune);
[[__nodiscard__, __unsequenced__]] enum uprop_gc uprop_get_gc(rune);
+[[__nodiscard__, __unsequenced__]] enum uprop_lb uprop_get_lb(rune);
[[__nodiscard__, __unsequenced__]] enum uprop_nt uprop_get_nt(rune);
[[__nodiscard__, __unsequenced__]] rune uprop_get_bpb(rune);