pkg/utf8proc: yeet usingns

This commit is contained in:
Mitchell Hashimoto 2024-08-16 16:28:39 -07:00
parent 59755363a3
commit 480487b440
No known key found for this signature in database
GPG Key ID: 523D5DC389D273BC
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
pub usingnamespace @cImport({ pub const c = @cImport({
@cInclude("utf8proc.h"); @cInclude("utf8proc.h");
}); });

View File

@ -1,4 +1,4 @@
pub const c = @import("c.zig"); pub const c = @import("c.zig").c;
/// Given a codepoint, return a character width analogous to `wcwidth(codepoint)`, /// Given a codepoint, return a character width analogous to `wcwidth(codepoint)`,
/// except that a width of 0 is returned for non-printable codepoints /// except that a width of 0 is returned for non-printable codepoints