2020-03-29 10:36:15 -07:00
|
|
|
pub usingnamespace @cImport({
|
2020-03-20 14:44:08 -07:00
|
|
|
@cDefine("WLR_USE_UNSTABLE", {});
|
|
|
|
@cInclude("time.h");
|
|
|
|
@cInclude("stdlib.h");
|
|
|
|
@cInclude("wayland-server-core.h");
|
2020-03-21 08:55:42 -07:00
|
|
|
//@cInclude("wlr/backend.h");
|
|
|
|
//@cInclude("wlr/render/wlr_renderer.h");
|
2020-03-26 13:32:30 -07:00
|
|
|
@cInclude("wlr/types/wlr_buffer.h");
|
2020-03-20 14:44:08 -07:00
|
|
|
@cInclude("wlr/types/wlr_compositor.h");
|
2020-03-26 13:32:30 -07:00
|
|
|
@cInclude("wlr/types/wlr_cursor.h");
|
2020-03-20 14:44:08 -07:00
|
|
|
@cInclude("wlr/types/wlr_data_device.h");
|
|
|
|
@cInclude("wlr/types/wlr_input_device.h");
|
2020-04-18 15:59:07 -07:00
|
|
|
@cInclude("wlr/types/wlr_input_inhibitor.h");
|
2020-03-20 14:44:08 -07:00
|
|
|
@cInclude("wlr/types/wlr_keyboard.h");
|
2020-04-10 07:49:52 -07:00
|
|
|
@cInclude("wlr/types/wlr_layer_shell_v1.h");
|
2020-03-20 14:44:08 -07:00
|
|
|
@cInclude("wlr/types/wlr_matrix.h");
|
|
|
|
@cInclude("wlr/types/wlr_output.h");
|
|
|
|
@cInclude("wlr/types/wlr_output_layout.h");
|
|
|
|
@cInclude("wlr/types/wlr_pointer.h");
|
2020-04-26 02:08:11 -07:00
|
|
|
@cInclude("wlr/types/wlr_screencopy_v1.h");
|
2020-03-20 14:44:08 -07:00
|
|
|
@cInclude("wlr/types/wlr_seat.h");
|
|
|
|
@cInclude("wlr/types/wlr_xcursor_manager.h");
|
2020-03-27 10:31:03 -07:00
|
|
|
@cInclude("wlr/types/wlr_xdg_decoration_v1.h");
|
2020-04-10 08:23:25 -07:00
|
|
|
@cInclude("wlr/types/wlr_xdg_output_v1.h");
|
2020-03-20 14:44:08 -07:00
|
|
|
@cInclude("wlr/types/wlr_xdg_shell.h");
|
|
|
|
@cInclude("wlr/util/log.h");
|
|
|
|
@cInclude("xkbcommon/xkbcommon.h");
|
2020-03-21 08:55:42 -07:00
|
|
|
|
2020-03-23 08:50:20 -07:00
|
|
|
// Contains a subset of functions from wlr/backend.h and wlr/render/wlr_renderer.h
|
|
|
|
// that can be automatically imported
|
2020-04-15 03:47:55 -07:00
|
|
|
@cInclude("include/bindings.h");
|
2020-03-20 14:44:08 -07:00
|
|
|
});
|