Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 759 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 759 Bytes

invert_example

To use this module in your project you will need:

  1. A build.zig.zon file like this.
  2. These lines in your build.zig:
const vapoursynth_dep = b.dependency("vapoursynth", .{
    .target = target,
    .optimize = optimize,
});

lib.root_module.addImport("vapoursynth", vapoursynth_dep.module("vapoursynth"));

The invert_example.zig is based on invert_example.c, from the VapourSynth SDK, I recommend checking it out first if you don't know the framework.

Building

Zig version should be the master.

zig build -Doptimize=ReleaseFast