Skip to content

Commit

Permalink
Merge pull request #1146 from RealKC/g_unichar
Browse files Browse the repository at this point in the history
glib: Bind `g_unichar` APIs
  • Loading branch information
sdroege committed Sep 4, 2023
2 parents fe1a41c + df05d03 commit d85a225
Show file tree
Hide file tree
Showing 6 changed files with 704 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .typos.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[files]
extend-exclude = ["auto", "sys", "gobject-sys", "*.svg"]
extend-exclude = ["auto", "sys", "gobject-sys", "*.svg", "glib/Gir.toml"]

[default.extend-words]
# Ignore false-positives
Expand Down
11 changes: 11 additions & 0 deletions glib/Gir.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ generate = [
"GLib.SpawnFlags",
"GLib.Time",
"GLib.TimeType",
"GLib.UnicodeType",
"GLib.UriError",
"GLib.UriFlags",
"GLib.UriHideFlags",
Expand Down Expand Up @@ -513,6 +514,9 @@ status = "generate"
name = "variant_get_gtype"
# get_type() function that should be used in StaticType impl instead
ignore = true
[[object.function]]
pattern = "unichar_((break_)?type|get_(script|mirror_char)|combining_class|is(mark|graph|punct|title|defined|wide(_cjk)?|zerowidth)|totitle|(fully_)?decompose|compose)"
manual = true # defined as extension methods on char

[[object]]
name = "GLib.Checksum"
Expand Down Expand Up @@ -771,6 +775,13 @@ concurrency = "send+sync"
# in-out parameter
manual = true

[[object]]
name = "GLib.UnicodeBreakType"
status = "generate"
[[object.member]]
name = "close_paranthesis"
ignore = true

[[object]]
name = "GLib.UnicodeScript"
status = "generate"
Expand Down

0 comments on commit d85a225

Please sign in to comment.