lsteamclient: Make sure the param structs are consistently aligned.
CW-Bug-Id: #22729
This commit is contained in:
parent
fd574a64ca
commit
1bf0e86507
3 changed files with 10 additions and 0 deletions
|
@ -1521,9 +1521,11 @@ with open(u"unixlib_generated.h", "w") as file:
|
||||||
out(u'#endif /* __cplusplus */\n')
|
out(u'#endif /* __cplusplus */\n')
|
||||||
out(u'\n')
|
out(u'\n')
|
||||||
|
|
||||||
|
out(u'#include <pshpack1.h>\n\n')
|
||||||
for klass, method in all_methods:
|
for klass, method in all_methods:
|
||||||
sdkver = klass._sdkver
|
sdkver = klass._sdkver
|
||||||
method.write_params(out)
|
method.write_params(out)
|
||||||
|
out(u'#include <poppack.h>\n\n')
|
||||||
|
|
||||||
out(u'enum unix_funcs\n')
|
out(u'enum unix_funcs\n')
|
||||||
out(u'{\n')
|
out(u'{\n')
|
||||||
|
|
|
@ -21,6 +21,8 @@ extern "C"
|
||||||
#define PATH_MAX 4096
|
#define PATH_MAX 4096
|
||||||
extern char g_tmppath[PATH_MAX];
|
extern char g_tmppath[PATH_MAX];
|
||||||
|
|
||||||
|
#include <pshpack1.h>
|
||||||
|
|
||||||
struct steamclient_init_params
|
struct steamclient_init_params
|
||||||
{
|
{
|
||||||
const char *steam_app_id;
|
const char *steam_app_id;
|
||||||
|
@ -211,6 +213,8 @@ struct networking_message
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#include <poppack.h>
|
||||||
|
|
||||||
typedef NTSTATUS (*unixlib_entry_t)( void *args );
|
typedef NTSTATUS (*unixlib_entry_t)( void *args );
|
||||||
extern const unixlib_entry_t __wine_unix_call_funcs[];
|
extern const unixlib_entry_t __wine_unix_call_funcs[];
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,8 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
|
#include <pshpack1.h>
|
||||||
|
|
||||||
struct ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps_params
|
struct ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps_params
|
||||||
{
|
{
|
||||||
struct u_steam_iface *linux_side;
|
struct u_steam_iface *linux_side;
|
||||||
|
@ -45557,6 +45559,8 @@ struct ISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput_params
|
||||||
int8_t _ret;
|
int8_t _ret;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#include <poppack.h>
|
||||||
|
|
||||||
enum unix_funcs
|
enum unix_funcs
|
||||||
{
|
{
|
||||||
unix_steamclient_init,
|
unix_steamclient_init,
|
||||||
|
|
Loading…
Reference in a new issue