mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-15 16:18:20 +03:00
lsteamclient: Remove unused imports and duplicate entries.
CW-Bug-Id: #22729
This commit is contained in:
parent
623d71250f
commit
5f6ee9a06e
@ -3,14 +3,10 @@
|
||||
#NOTE: If you make modifications here, consider whether they should
|
||||
#be duplicated in ../vrclient/gen_wrapper.py
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
CLANG_PATH='/usr/lib/clang/16'
|
||||
CLANG_PATH='/usr/lib/clang/15'
|
||||
|
||||
from clang.cindex import CursorKind, Index, Type, TypeKind
|
||||
from collections import namedtuple
|
||||
import pprint
|
||||
import sys
|
||||
import os
|
||||
import re
|
||||
import math
|
||||
@ -176,7 +172,6 @@ aliases = {
|
||||
"SteamGameServer008":["SteamGameServer007","SteamGameServer006"],
|
||||
"SteamNetworkingSocketsSerialized002":["SteamNetworkingSocketsSerialized001"],
|
||||
"STEAMAPPS_INTERFACE_VERSION001":["SteamApps001"],
|
||||
"STEAMAPPS_INTERFACE_VERSION001":["SteamApps001"],
|
||||
"SteamNetworkingSockets002":["SteamNetworkingSockets003"],
|
||||
}
|
||||
|
||||
@ -291,8 +286,6 @@ wrapped_classes = [
|
||||
"ISteamNetworkingFakeUDPPort",
|
||||
]
|
||||
|
||||
print_sizes = []
|
||||
|
||||
class_versions = {}
|
||||
|
||||
path_conversions = [
|
||||
@ -1333,8 +1326,6 @@ for sdkver in sdk_versions:
|
||||
handle_class(sdkver, child, classes[child.displayname])
|
||||
if child.kind in [CursorKind.STRUCT_DECL, CursorKind.CLASS_DECL]:
|
||||
handle_struct(sdkver, child)
|
||||
if child.displayname in print_sizes:
|
||||
print("size of %s is %u" % (child.displayname, child.type.get_size()))
|
||||
|
||||
for f in cpp_files_need_close_brace:
|
||||
m = open(f, "a")
|
||||
|
Loading…
x
Reference in New Issue
Block a user