Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all: run v fmt -w . in project root #807

Merged
merged 1 commit into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion image/image.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion mixer/mixer.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ttf/ttf.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fn C.SDL_TTF_COMPILEDVERSION() int

// compiledversion is the version number macro for the current SDL_ttf version.
pub fn compiledversion() int {
return C.SDL_VERSIONNUM(ttf.major_version, ttf.minor_version, ttf.patchlevel)
return C.SDL_VERSIONNUM(major_version, minor_version, patchlevel)
}

pub fn C.SDL_TTF_VERSION_ATLEAST(x int, y int, z int) bool
Expand Down
Loading