Rename render.[hc] to bindings.[hc]
This commit is contained in:
parent
2126ef07f8
commit
b02f660475
@ -38,7 +38,7 @@ fn addDeps(exe: *std.build.LibExeObjStep, protocol_step: *std.build.Step) void {
|
||||
exe.step.dependOn(protocol_step);
|
||||
exe.addIncludeDir("protocol");
|
||||
|
||||
exe.addCSourceFile("include/render.c", &[_][]const u8{"-std=c99"});
|
||||
exe.addCSourceFile("include/bindings.c", &[_][]const u8{"-std=c99"});
|
||||
exe.addIncludeDir(".");
|
||||
|
||||
exe.linkLibC();
|
||||
|
@ -1,7 +1,8 @@
|
||||
#ifndef RIVER_RENDER_H
|
||||
#define RIVER_RENDER_H
|
||||
#ifndef RIVER_BINDINGS_H
|
||||
#define RIVER_BINDINGS_H
|
||||
|
||||
#include <wlr/backend/session.h>
|
||||
|
||||
/*
|
||||
* This header is needed since zig cannot yet translate flexible arrays.
|
||||
* See https://github.com/ziglang/zig/issues/4775
|
||||
@ -31,4 +32,4 @@ struct wlr_backend *river_wlr_noop_backend_create(struct wl_display *display);
|
||||
struct wlr_output *river_wlr_noop_add_output(struct wlr_backend *backend);
|
||||
bool river_wlr_output_is_noop(struct wlr_output *output);
|
||||
|
||||
#endif
|
||||
#endif // RIVER_BINDINGS_H
|
Loading…
Reference in New Issue
Block a user