diff --git a/wineopenxr/make_openxr b/wineopenxr/make_openxr index 3ca54f24..49250269 100755 --- a/wineopenxr/make_openxr +++ b/wineopenxr/make_openxr @@ -2939,7 +2939,7 @@ class XrRegistry(object): self.bitmasks = sorted(bitmasks, key=lambda bitmask: bitmask.name) self.defines = defines self.enums = OrderedDict(sorted(self.enums.items())) - self.funcpointers = sorted(funcpointers, key=lambda fp: fp.name) + self.funcpointers = funcpointers self.handles = sorted(handles, key=lambda handle: handle.name) self.structs = sorted(structs, key=lambda struct: struct.name) diff --git a/wineopenxr/wineopenxr.h b/wineopenxr/wineopenxr.h index 539b1ba3..af3297af 100644 --- a/wineopenxr/wineopenxr.h +++ b/wineopenxr/wineopenxr.h @@ -1545,13 +1545,13 @@ typedef struct XrHandJointLocationsEXT XrHandJointLocationsEXT; typedef struct XrSpatialAnchorSpaceCreateInfoMSFT XrSpatialAnchorSpaceCreateInfoMSFT; typedef struct XrControllerModelStateMSFT XrControllerModelStateMSFT; typedef struct XrNewSceneComputeInfoMSFT XrNewSceneComputeInfoMSFT; +typedef void (XRAPI_PTR * PFN_xrVoidFunction)( +void); typedef XrBool32 (XRAPI_PTR * PFN_xrDebugUtilsMessengerCallbackEXT)( XrDebugUtilsMessageSeverityFlagsEXT messageSeverity, XrDebugUtilsMessageTypeFlagsEXT messageTypes, const XrDebugUtilsMessengerCallbackDataEXT *callbackData, void *userData); -typedef void (XRAPI_PTR * PFN_xrVoidFunction)( -void); struct XrActionCreateInfo {