Skip to content

Commit 2e2c3ef

Browse files
Fix bad metadata for HIServices.AXIsProcessTrustedWithOptions
Issue #456
1 parent ce3ec51 commit 2e2c3ef

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

docs/changelog.rst

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Version 8.4.1
1010
to install ``pyobjc-framework-ScreenCaptureKit``, which is
1111
only can be installed on macOS 12.3 or later.
1212

13+
* #456: Fix bad metadata for ``HIServices.AXIsProcessTrustedWithOptions``
14+
1315
* Wheels were build with Xcode 13.3 RC
1416

1517
There are no changes in framework bindings relative to

pyobjc-framework-ApplicationServices/Lib/HIServices/_metadata.py

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is generated by objective.metadata
22
#
3-
# Last update: Sun Feb 20 18:29:12 2022
3+
# Last update: Thu Mar 10 11:41:42 2022
44
#
55
# flake8: noqa
66

@@ -96,6 +96,7 @@ def selAorI(a, b):
9696
"AXPriority": NewType("AXPriority", int),
9797
}
9898
)
99+
misc.update({})
99100
misc.update(
100101
{
101102
"kAXTableRole": "AXTable",
@@ -731,11 +732,7 @@ def selAorI(a, b):
731732
{"arguments": {2: {"already_cfretained": True, "type_modifier": "o"}}},
732733
),
733734
"AXTextMarkerGetLength": (b"q^{__AXTextMarker=}",),
734-
"AXIsProcessTrustedWithOptions": (
735-
b"Z^{__CFDictionary=}",
736-
"",
737-
{"arguments": {0: {"type_modifier": "o"}}},
738-
),
735+
"AXIsProcessTrustedWithOptions": (b"Z^{__CFDictionary=}",),
739736
"HIShapeOffset": (b"i^{__HIShape=}dd",),
740737
"TranslationGetTranslationFlags": (
741738
b"i^{OpaqueTranslationRef=}^I",

pyobjc-framework-ApplicationServices/metadata/HIServices.fwinfo

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"AXIsProcessTrustedWithOptions": {
2525
"args": {
26-
"0": { "type_modifier": "o" }
26+
"0": {}
2727
}
2828
},
2929
"AXMakeProcessTrusted": {

0 commit comments

Comments
 (0)