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

fix: Change SteamAPI_SteamUGC_v016 to SteamAPI_SteamUGC_v017 #148

Merged
merged 1 commit into from
Dec 18, 2023
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 src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ impl<Manager> Client<Manager> {
/// Returns an accessor to the steam UGC interface (steam workshop)
pub fn ugc(&self) -> UGC<Manager> {
unsafe {
let ugc = sys::SteamAPI_SteamUGC_v016();
let ugc = sys::SteamAPI_SteamUGC_v017();
debug_assert!(!ugc.is_null());
UGC {
ugc,
Expand Down
6 changes: 3 additions & 3 deletions src/ugc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,7 @@ impl<Manager> UserListQuery<Manager> {
api_call,
CALLBACK_BASE_ID + 1,
move |v, io_error| {
let ugc = sys::SteamAPI_SteamUGC_v016();
let ugc = sys::SteamAPI_SteamUGC_v017();
if io_error {
sys::SteamAPI_ISteamUGC_ReleaseQueryUGCRequest(ugc, handle);
cb(Err(SteamError::IOFailure));
Expand Down Expand Up @@ -1237,7 +1237,7 @@ impl<Manager> ItemListDetailsQuery<Manager> {
api_call,
CALLBACK_BASE_ID + 1,
move |v, io_error| {
let ugc = sys::SteamAPI_SteamUGC_v016();
let ugc = sys::SteamAPI_SteamUGC_v017();
if io_error {
sys::SteamAPI_ISteamUGC_ReleaseQueryUGCRequest(ugc, handle);
cb(Err(SteamError::IOFailure));
Expand Down Expand Up @@ -1385,7 +1385,7 @@ impl<Manager> ItemDetailsQuery<Manager> {
api_call,
CALLBACK_BASE_ID + 1,
move |v, io_error| {
let ugc = sys::SteamAPI_SteamUGC_v016();
let ugc = sys::SteamAPI_SteamUGC_v017();
if io_error {
sys::SteamAPI_ISteamUGC_ReleaseQueryUGCRequest(ugc, handle);
cb(Err(SteamError::IOFailure));
Expand Down
2 changes: 1 addition & 1 deletion steamworks-sys/src/linux_bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28166,7 +28166,7 @@ extern "C" {
) -> bool;
}
extern "C" {
pub fn SteamAPI_SteamUGC_v016() -> *mut ISteamUGC;
pub fn SteamAPI_SteamUGC_v017() -> *mut ISteamUGC;
}
extern "C" {
pub fn SteamAPI_SteamGameServerUGC_v017() -> *mut ISteamUGC;
Expand Down
2 changes: 1 addition & 1 deletion steamworks-sys/src/macos_bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28201,7 +28201,7 @@ extern "C" {
) -> bool;
}
extern "C" {
pub fn SteamAPI_SteamUGC_v016() -> *mut ISteamUGC;
pub fn SteamAPI_SteamUGC_v017() -> *mut ISteamUGC;
}
extern "C" {
pub fn SteamAPI_SteamGameServerUGC_v017() -> *mut ISteamUGC;
Expand Down
2 changes: 1 addition & 1 deletion steamworks-sys/src/windows_bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29466,7 +29466,7 @@ extern "C" {
) -> bool;
}
extern "C" {
pub fn SteamAPI_SteamUGC_v016() -> *mut ISteamUGC;
pub fn SteamAPI_SteamUGC_v017() -> *mut ISteamUGC;
}
extern "C" {
pub fn SteamAPI_SteamGameServerUGC_v017() -> *mut ISteamUGC;
Expand Down
Loading