diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-03-23 16:50:20 +0100 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-03-23 16:50:20 +0100 |
| commit | 523d629fe0f4fdcf01ba31e0787f277555ece90d (patch) | |
| tree | eb221fc29a19f182426019ab029d94732bda6647 /src/c.zig | |
| parent | 50494add408bda394d71d6f0a830ca1a34771ba2 (diff) | |
| download | river-523d629fe0f4fdcf01ba31e0787f277555ece90d.tar.gz river-523d629fe0f4fdcf01ba31e0787f277555ece90d.tar.xz | |
Get things compiling again
Diffstat (limited to 'src/c.zig')
| -rw-r--r-- | src/c.zig | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -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); - } -}; |
