mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-23 15:54:07 +01:00
lsteamclient: generate 1.52 support
This commit is contained in:
parent
a1244bdf38
commit
da911c3bf9
73 changed files with 4121 additions and 1532 deletions
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
from __future__ import print_function
|
||||
|
||||
CLANG_PATH='/usr/lib/clang/11.1.0'
|
||||
CLANG_PATH='/usr/lib/clang/12.0.1'
|
||||
|
||||
import pprint
|
||||
import sys
|
||||
|
|
@ -15,6 +15,7 @@ import re
|
|||
import math
|
||||
|
||||
sdk_versions = [
|
||||
"152",
|
||||
"151",
|
||||
"150",
|
||||
"149",
|
||||
|
|
@ -218,6 +219,9 @@ manually_handled_methods = {
|
|||
"cppISteamNetworkingMessages_SteamNetworkingMessages002": [
|
||||
"ReceiveMessagesOnChannel"
|
||||
],
|
||||
"cppISteamInput_SteamInput005": [
|
||||
"EnableActionEventCallbacks"
|
||||
],
|
||||
}
|
||||
|
||||
# manual converters for simple types (function pointers)
|
||||
|
|
@ -586,6 +590,8 @@ def struct_needs_conversion_nocache(struct):
|
|||
|
||||
#check 32-bit compat
|
||||
windows_struct = find_windows_struct(struct)
|
||||
if windows_struct is None:
|
||||
print("Couldn't find windows struct for " + struct.spelling)
|
||||
assert(not windows_struct is None) #must find windows_struct
|
||||
for field in struct.get_fields():
|
||||
if struct.get_offset(field.spelling) != windows_struct.get_offset(field.spelling):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue