Skip to content

Commit d85a225

Browse files
authored
Merge pull request #1146 from RealKC/g_unichar
glib: Bind `g_unichar` APIs
2 parents fe1a41c + df05d03 commit d85a225

File tree

6 files changed

+704
-1
lines changed

6 files changed

+704
-1
lines changed

.typos.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[files]
2-
extend-exclude = ["auto", "sys", "gobject-sys", "*.svg"]
2+
extend-exclude = ["auto", "sys", "gobject-sys", "*.svg", "glib/Gir.toml"]
33

44
[default.extend-words]
55
# Ignore false-positives

glib/Gir.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ generate = [
3131
"GLib.SpawnFlags",
3232
"GLib.Time",
3333
"GLib.TimeType",
34+
"GLib.UnicodeType",
3435
"GLib.UriError",
3536
"GLib.UriFlags",
3637
"GLib.UriHideFlags",
@@ -513,6 +514,9 @@ status = "generate"
513514
name = "variant_get_gtype"
514515
# get_type() function that should be used in StaticType impl instead
515516
ignore = true
517+
[[object.function]]
518+
pattern = "unichar_((break_)?type|get_(script|mirror_char)|combining_class|is(mark|graph|punct|title|defined|wide(_cjk)?|zerowidth)|totitle|(fully_)?decompose|compose)"
519+
manual = true # defined as extension methods on char
516520

517521
[[object]]
518522
name = "GLib.Checksum"
@@ -771,6 +775,13 @@ concurrency = "send+sync"
771775
# in-out parameter
772776
manual = true
773777

778+
[[object]]
779+
name = "GLib.UnicodeBreakType"
780+
status = "generate"
781+
[[object.member]]
782+
name = "close_paranthesis"
783+
ignore = true
784+
774785
[[object]]
775786
name = "GLib.UnicodeScript"
776787
status = "generate"

0 commit comments

Comments
 (0)