river/river/c.zig

27 lines
975 B
Zig
Raw Normal View History

2020-05-02 10:21:10 -07:00
// This file is part of river, a dynamic tiling wayland compositor.
//
// Copyright 2020 The River Developers
2020-05-02 10:21:10 -07:00
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
2020-03-29 10:36:15 -07:00
pub usingnamespace @cImport({
2020-05-30 06:44:48 -07:00
@cDefine("_POSIX_C_SOURCE", "200809L");
2020-03-20 14:44:08 -07:00
@cInclude("stdlib.h");
@cInclude("unistd.h");
2020-07-07 07:39:08 -07:00
@cInclude("linux/input-event-codes.h");
@cInclude("libevdev/libevdev.h");
2020-03-20 14:44:08 -07:00
});