Skip to content

Commit

Permalink
define VS_USE_LATEST_API
Browse files Browse the repository at this point in the history
  • Loading branch information
dnjulek committed Jan 24, 2025
1 parent 6d8db52 commit 7b08187
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vszip.zig
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ const pavg = @import("vapoursynth/planeaverage.zig");
const pmm = @import("vapoursynth/planeminmax.zig");
const rfs = @import("vapoursynth/rfs.zig");

const c = @cImport({
@cDefine("VS_USE_LATEST_API", "1");
});

export fn VapourSynthPluginInit2(plugin: *vs.Plugin, vspapi: *const vs.PLUGINAPI) void {
_ = vspapi.configPlugin.?(
"com.julek.vszip",
Expand Down

0 comments on commit 7b08187

Please sign in to comment.