From 8ebd340c76ed66b67147a133881b81e39b20521a Mon Sep 17 00:00:00 2001 From: lmp Date: Wed, 11 Sep 2024 15:25:54 +0200 Subject: [PATCH] all: run `v fmt -w .` in project root --- image/image.c.v | 2 +- mixer/mixer.c.v | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/image/image.c.v b/image/image.c.v index e2a164ae..9ed226de 100644 --- a/image/image.c.v +++ b/image/image.c.v @@ -27,7 +27,7 @@ pub fn C.SDL_IMAGE_COMPILEDVERSION() int // compiledversion is the version number macro for the current SDL_image version. pub fn compiledversion() int { - return C.SDL_VERSIONNUM(image.major_version, image.minor_version, image.patchlevel) + return C.SDL_VERSIONNUM(major_version, minor_version, patchlevel) } // This macro will evaluate to true if compiled with SDL_image at least X.Y.Z. diff --git a/mixer/mixer.c.v b/mixer/mixer.c.v index 760e6d91..ed6320ab 100644 --- a/mixer/mixer.c.v +++ b/mixer/mixer.c.v @@ -26,7 +26,7 @@ fn C.SDL_MIXER_COMPILEDVERSION() int // compiledversion is the version number macro for the current SDL_mixer version. pub fn compiledversion() int { - return C.SDL_VERSIONNUM(mixer.major_version, mixer.minor_version, mixer.patchlevel) + return C.SDL_VERSIONNUM(major_version, minor_version, patchlevel) } pub fn C.SDL_MIXER_VERSION_ATLEAST(x int, y int, z int) bool