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

lsteamclient: Make sure the param structs are consistently aligned.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon
2023-10-04 21:32:49 +02:00
committed by Arkadiusz Hiler
parent fd574a64ca
commit 1bf0e86507
3 changed files with 10 additions and 0 deletions

View File

@@ -1521,9 +1521,11 @@ with open(u"unixlib_generated.h", "w") as file:
out(u'#endif /* __cplusplus */\n')
out(u'\n')
out(u'#include <pshpack1.h>\n\n')
for klass, method in all_methods:
sdkver = klass._sdkver
method.write_params(out)
out(u'#include <poppack.h>\n\n')
out(u'enum unix_funcs\n')
out(u'{\n')