From 523d629fe0f4fdcf01ba31e0787f277555ece90d Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Mon, 23 Mar 2020 16:50:20 +0100 Subject: Get things compiling again --- src/c.zig | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/c.zig') diff --git a/src/c.zig b/src/c.zig index 5169a17..3073111 100644 --- a/src/c.zig +++ b/src/c.zig @@ -1,5 +1,3 @@ -// Functions that couldn't be automatically translated - pub const c = @cImport({ @cDefine("WLR_USE_UNSTABLE", {}); @cInclude("time.h"); @@ -22,11 +20,7 @@ pub const c = @cImport({ @cInclude("wlr/util/log.h"); @cInclude("xkbcommon/xkbcommon.h"); + // Contains a subset of functions from wlr/backend.h and wlr/render/wlr_renderer.h + // that can be automatically imported @cInclude("include/render.h"); }); - -pub const manual = struct { - pub inline fn xkb_map_new_from_names(context: var, names: var, flags: var) ?*c.struct_xkb_keymap { - return c.xkb_keymap_new_from_names(context, names, flags); - } -}; -- cgit v1.2.3