gamemode: add stage2 client
This commit is contained in:
parent
2451d9e92b
commit
a945046224
3 changed files with 1766 additions and 122 deletions
|
|
@ -1,7 +1,10 @@
|
|||
//! Note: All the above requests can be blocking - dbus requests can and will block while the daemon
|
||||
//! handles the request. It is not recommended to make these calls in performance critical code
|
||||
|
||||
pub const c = @import("gamemode_client.zig");
|
||||
const builtin = @import("builtin");
|
||||
pub const c = if (builtin.zig_backend == .stage1)
|
||||
@import("gamemode_client_stage1.zig")
|
||||
else
|
||||
@import("gamemode_client.zig");
|
||||
|
||||
pub const GamemodeError = error{
|
||||
RequestFailed,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue