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')

View file

@ -21,6 +21,8 @@ extern "C"
#define PATH_MAX 4096
extern char g_tmppath[PATH_MAX];
#include <pshpack1.h>
struct steamclient_init_params
{
const char *steam_app_id;
@ -211,6 +213,8 @@ struct networking_message
};
};
#include <poppack.h>
typedef NTSTATUS (*unixlib_entry_t)( void *args );
extern const unixlib_entry_t __wine_unix_call_funcs[];

View file

@ -7,6 +7,8 @@
extern "C" {
#endif /* __cplusplus */
#include <pshpack1.h>
struct ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps_params
{
struct u_steam_iface *linux_side;
@ -45557,6 +45559,8 @@ struct ISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput_params
int8_t _ret;
};
#include <poppack.h>
enum unix_funcs
{
unix_steamclient_init,