2
0
mirror of https://github.com/ValveSoftware/Proton synced 2025-08-31 06:35:23 +00:00

lsteamclient: Reorder do_cb_wrap first parameters.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon
2023-09-11 20:10:46 +02:00
parent c58925af68
commit 5120d0f423
4 changed files with 15 additions and 13 deletions

View File

@@ -877,7 +877,7 @@ def handle_method(used_name, cfile, classname, winclassname, cppname, method, cp
used_name.startswith("GetISteamGenericInterface"))
if should_do_cb_wrap:
cfile.write(f"do_cb_wrap(0, _this->linux_side, &{cppname}_{used_name}")
cfile.write(f"do_cb_wrap(0, &{cppname}_{used_name}, _this->linux_side")
else:
if should_gen_wrapper:
cfile.write("create_win_interface(pchVersion,\n ")