mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-23 15:54:07 +01:00
lsteamclient: Implement old version of ISteamMatchmakingServerListResponse
This commit is contained in:
parent
10a04c2c4f
commit
a14f231bd1
4 changed files with 62 additions and 28 deletions
|
|
@ -543,7 +543,7 @@ def handle_method(cfile, classname, winclassname, cppname, method, cpp, cpp_h, e
|
|||
unnamed = chr(ord(unnamed) + 1)
|
||||
elif param.type.kind == clang.cindex.TypeKind.POINTER and \
|
||||
param.type.get_pointee().spelling in wrapped_classes:
|
||||
cfile.write(", create_Linux%s(%s)" % (param.type.get_pointee().spelling, param.spelling))
|
||||
cfile.write(", create_Linux%s(%s, \"%s\")" % (param.type.get_pointee().spelling, param.spelling, winclassname))
|
||||
cpp.write("(%s)%s" % (param.type.spelling, param.spelling))
|
||||
elif path_conv and param.spelling in path_conv["w2l_names"]:
|
||||
cfile.write(", %s ? lin_%s : NULL" % (param.spelling, param.spelling))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue