Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 654 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 654 Bytes

refresh-zig-api

Zig bindings for the Refresh v3 API

We target the latest Mach Nominated Version.

Using through the package manager

Run the following command

zig fetch --save git+https://github.com/LittleBigRefresh/refresh-api-zig

Next, add the following to your build.zig

const refresh_api_zig = b.dependency("refresh_api", .{});

exe = b.addExecutable(...);
exe.addModule("api", refresh_api_zig.module("refresh-api-zig"));

Then, in your source code, you can import the API as such

const Api = @import("api");