From 480487b44021740b14bd60d63adf62b590ed01a5 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 16 Aug 2024 16:28:39 -0700 Subject: [PATCH] pkg/utf8proc: yeet usingns --- pkg/utf8proc/c.zig | 2 +- pkg/utf8proc/main.zig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/utf8proc/c.zig b/pkg/utf8proc/c.zig index adeb226b0..53c8afec0 100644 --- a/pkg/utf8proc/c.zig +++ b/pkg/utf8proc/c.zig @@ -1,3 +1,3 @@ -pub usingnamespace @cImport({ +pub const c = @cImport({ @cInclude("utf8proc.h"); }); diff --git a/pkg/utf8proc/main.zig b/pkg/utf8proc/main.zig index a351fff4b..1653c76db 100644 --- a/pkg/utf8proc/main.zig +++ b/pkg/utf8proc/main.zig @@ -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)`, /// except that a width of 0 is returned for non-printable codepoints