From 8b18ae6212a54b7eef7712f5a8ef9f97bec0ec51 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Tue, 18 Sep 2012 23:03:07 +0000 Subject: [PATCH] Don't redefine the VSAPI typedef. --- include/VapourSynth.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/VapourSynth.h b/include/VapourSynth.h index dc5ee9d..9145d10 100644 --- a/include/VapourSynth.h +++ b/include/VapourSynth.h @@ -266,7 +266,7 @@ typedef void (VS_CC *VSReleaseFrameEarly)(const VSNodeRef *node, int n, VSFrameC //typedef VSFrameRef *(VS_CC *VSCopyFrame2)(const VSFrameRef *f[], const VSFormat *format, int clobber, VSCore *core); -typedef struct VSAPI { +struct VSAPI { VSCreateVSCore createVSCore; VSFreeVSCore freeVSCore; VSCloneFrameRef cloneFrameRef; @@ -337,7 +337,7 @@ typedef struct VSAPI { VSQueryCompletedFrame queryCompletedFrame; VSReleaseFrameEarly releaseFrameEarly; -} VSAPI; +}; VS_API(const VSAPI *) getVapourSynthAPI(int version); -- 2.11.4.GIT