mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-02-04 09:40:37 +03:00
vrclient: Make sure the param structs are consistently aligned.
CW-Bug-Id: #22729
This commit is contained in:
parent
1bf0e86507
commit
8ff2cf5e8e
@ -1584,9 +1584,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')
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stddef.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
@ -17,6 +18,8 @@ extern "C"
|
||||
{
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#include <pshpack1.h>
|
||||
|
||||
struct render_model
|
||||
{
|
||||
union
|
||||
@ -64,6 +67,8 @@ struct vrclient_VRClientCoreFactory_params
|
||||
int *return_code;
|
||||
};
|
||||
|
||||
#include <poppack.h>
|
||||
|
||||
typedef NTSTATUS (*unixlib_entry_t)( void *args );
|
||||
extern const unixlib_entry_t __wine_unix_call_funcs[];
|
||||
|
||||
|
@ -7,6 +7,8 @@
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#include <pshpack1.h>
|
||||
|
||||
struct IVRApplications_IVRApplications_001_AddApplicationManifest_params
|
||||
{
|
||||
void *linux_side;
|
||||
@ -28856,6 +28858,8 @@ struct IVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace_params
|
||||
uint32_t _ret;
|
||||
};
|
||||
|
||||
#include <poppack.h>
|
||||
|
||||
enum unix_funcs
|
||||
{
|
||||
unix_vrclient_init,
|
||||
|
Loading…
x
Reference in New Issue
Block a user