pyobjc-framework-Metal 10.1__tar.gz → 10.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/Lib/Metal/_metadata.py +34 -32
  2. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/Lib/pyobjc_framework_Metal.egg-info/PKG-INFO +3 -3
  3. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/Lib/pyobjc_framework_Metal.egg-info/SOURCES.txt +2 -8
  4. pyobjc_framework_metal-10.3/Lib/pyobjc_framework_Metal.egg-info/requires.txt +2 -0
  5. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/License.txt +1 -1
  6. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PKG-INFO +3 -3
  7. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtldevice.py +0 -16
  8. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlevent.py +11 -0
  9. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlresource.py +10 -0
  10. pyobjc-framework-Metal-10.1/metadata/raw/arm64-14.2.fwinfo → pyobjc_framework_metal-10.3/metadata/raw/arm64-14.5.fwinfo +140 -17
  11. pyobjc-framework-Metal-10.1/metadata/raw/x86_64-14.2.fwinfo → pyobjc_framework_metal-10.3/metadata/raw/x86_64-14.5.fwinfo +140 -17
  12. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/setup.py +2 -1
  13. pyobjc-framework-Metal-10.1/Lib/pyobjc_framework_Metal.egg-info/requires.txt +0 -2
  14. pyobjc-framework-Metal-10.1/metadata/raw/arm64-12.0.fwinfo +0 -26808
  15. pyobjc-framework-Metal-10.1/metadata/raw/arm64-13.0.fwinfo +0 -31247
  16. pyobjc-framework-Metal-10.1/metadata/raw/arm64-14.0.fwinfo +0 -33493
  17. pyobjc-framework-Metal-10.1/metadata/raw/x86_64-12.0.fwinfo +0 -26808
  18. pyobjc-framework-Metal-10.1/metadata/raw/x86_64-13.0.fwinfo +0 -31247
  19. pyobjc-framework-Metal-10.1/metadata/raw/x86_64-14.0.fwinfo +0 -33493
  20. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/Lib/Metal/__init__.py +0 -0
  21. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/Lib/pyobjc_framework_Metal.egg-info/dependency_links.txt +0 -0
  22. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/Lib/pyobjc_framework_Metal.egg-info/not-zip-safe +0 -0
  23. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/Lib/pyobjc_framework_Metal.egg-info/top_level.txt +0 -0
  24. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/MANIFEST.in +0 -0
  25. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/Modules/_Metal.m +0 -0
  26. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/Modules/_Metal_inlines.m +0 -0
  27. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/Modules/_Metal_protocols.m +0 -0
  28. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/Modules/pyobjc-api.h +0 -0
  29. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/Modules/pyobjc-compat.h +0 -0
  30. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/__init__.py +0 -0
  31. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/redo.txt +0 -0
  32. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_metal.py +0 -0
  33. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlaccelerationstructure.py +0 -0
  34. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlaccelerationstructurecommandencoder.py +0 -0
  35. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlaccelerationstructuretypes.py +0 -0
  36. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlargument.py +0 -0
  37. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlargumentencoder.py +0 -0
  38. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlbinaryarchive.py +0 -0
  39. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlblitcommandencoder.py +0 -0
  40. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlblitpass.py +0 -0
  41. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlbuffer.py +0 -0
  42. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlcapturemanager.py +0 -0
  43. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlcapturescope.py +0 -0
  44. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlcommandbuffer.py +0 -0
  45. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlcommandencoder.py +0 -0
  46. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlcomputecommandencoder.py +0 -0
  47. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlcomputepipeline.py +0 -0
  48. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlcounters.py +0 -0
  49. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtldepthstencil.py +0 -0
  50. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtldrawable.py +0 -0
  51. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtldynamiclibrary.py +0 -0
  52. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlfence.py +0 -0
  53. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlfunctiondescriptor.py +0 -0
  54. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlfunctionhandle.py +0 -0
  55. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlfunctionlog.py +0 -0
  56. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlfunctionstitching.py +0 -0
  57. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlheap.py +0 -0
  58. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlindirectcommandbuffer.py +0 -0
  59. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlindirectcommandencoder.py +0 -0
  60. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlintersectionfunctiontable.py +0 -0
  61. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtliocommandbuffer.py +0 -0
  62. /pyobjc-framework-Metal-10.1/PyObjCTest/test_MTLIOCommandQueue.py → /pyobjc_framework_metal-10.3/PyObjCTest/test_mtliocommandqueue.py +0 -0
  63. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtliocompressor.py +0 -0
  64. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtllibrary.py +0 -0
  65. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlparallelrendercommandencoder.py +0 -0
  66. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlpipeline.py +0 -0
  67. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlpixelformat.py +0 -0
  68. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlrasterizationrate.py +0 -0
  69. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlrendercommandencoder.py +0 -0
  70. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlrenderpass.py +0 -0
  71. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlrenderpipeline.py +0 -0
  72. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlresourcestatecommandencoder.py +0 -0
  73. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlresourcestatepass.py +0 -0
  74. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlsampler.py +0 -0
  75. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlstageinputoutputdescriptor.py +0 -0
  76. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtltexture.py +0 -0
  77. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtltypes.py +0 -0
  78. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlvertexdescriptor.py +0 -0
  79. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/PyObjCTest/test_mtlvisiblefunctiontable.py +0 -0
  80. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/metadata/Metal.fwinfo +0 -0
  81. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/metadata/metadata.ini +0 -0
  82. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/metadata/raw/arm64-12.3.fwinfo +0 -0
  83. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/metadata/raw/arm64-13.3.fwinfo +0 -0
  84. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/metadata/raw/x86_64-10.15.fwinfo +0 -0
  85. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/metadata/raw/x86_64-10.16.fwinfo +0 -0
  86. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/metadata/raw/x86_64-12.3.fwinfo +0 -0
  87. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/metadata/raw/x86_64-13.3.fwinfo +0 -0
  88. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/pyobjc_setup.py +0 -0
  89. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/pyproject.toml +0 -0
  90. {pyobjc-framework-Metal-10.1 → pyobjc_framework_metal-10.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  # This file is generated by objective.metadata
2
2
  #
3
- # Last update: Fri Nov 17 11:55:55 2023
3
+ # Last update: Sat May 18 09:32:03 2024
4
4
  #
5
5
  # flake8: noqa
6
6
 
@@ -2645,37 +2645,6 @@ try:
2645
2645
  "arguments": {2: {"type": b"@"}, 3: {"type": b"^@", "type_modifier": b"o"}},
2646
2646
  },
2647
2647
  )
2648
- r(
2649
- b"NSObject",
2650
- b"newLibraryWithDescriptor:completionHandler:",
2651
- {
2652
- "required": True,
2653
- "retval": {"type": b"v"},
2654
- "arguments": {
2655
- 2: {"type": b"@"},
2656
- 3: {
2657
- "callable": {
2658
- "retval": {"type": b"v"},
2659
- "arguments": {
2660
- 0: {"type": b"^v"},
2661
- 1: {"type": b"@"},
2662
- 2: {"type": b"@"},
2663
- },
2664
- },
2665
- "type": b"@?",
2666
- },
2667
- },
2668
- },
2669
- )
2670
- r(
2671
- b"NSObject",
2672
- b"newLibraryWithDescriptor:error:",
2673
- {
2674
- "required": True,
2675
- "retval": {"type": b"@"},
2676
- "arguments": {2: {"type": b"@"}, 3: {"type": b"^@", "type_modifier": b"o"}},
2677
- },
2678
- )
2679
2648
  r(
2680
2649
  b"NSObject",
2681
2650
  b"newLibraryWithFile:error:",
@@ -4198,6 +4167,11 @@ try:
4198
4167
  "arguments": {2: {"type": b"Q"}, 3: {"type": b"{_NSRange=QQ}"}},
4199
4168
  },
4200
4169
  )
4170
+ r(
4171
+ b"NSObject",
4172
+ b"setOwnerWithIdentity:",
4173
+ {"required": True, "retval": {"type": b"i"}, "arguments": {2: {"type": b"I"}}},
4174
+ )
4201
4175
  r(
4202
4176
  b"NSObject",
4203
4177
  b"setPurgeableState:",
@@ -5272,6 +5246,15 @@ try:
5272
5246
  )
5273
5247
  r(b"NSObject", b"waitUntilCompleted", {"required": True, "retval": {"type": b"v"}})
5274
5248
  r(b"NSObject", b"waitUntilScheduled", {"required": True, "retval": {"type": b"v"}})
5249
+ r(
5250
+ b"NSObject",
5251
+ b"waitUntilSignaledValue:timeoutMS:",
5252
+ {
5253
+ "required": True,
5254
+ "retval": {"type": b"Z"},
5255
+ "arguments": {2: {"type": b"Q"}, 3: {"type": b"Q"}},
5256
+ },
5257
+ )
5275
5258
  r(b"NSObject", b"width", {"required": True, "retval": {"type": b"Q"}})
5276
5259
  r(
5277
5260
  b"NSObject",
@@ -5298,6 +5281,25 @@ try:
5298
5281
  )
5299
5282
  finally:
5300
5283
  objc._updatingMetadata(False)
5284
+
5285
+ objc.registerNewKeywordsFromSelector(
5286
+ "MTLFunctionStitchingFunctionNode", b"initWithName:arguments:controlDependencies:"
5287
+ )
5288
+ objc.registerNewKeywordsFromSelector(
5289
+ "MTLFunctionStitchingGraph", b"initWithFunctionName:nodes:outputNode:attributes:"
5290
+ )
5291
+ objc.registerNewKeywordsFromSelector(
5292
+ "MTLFunctionStitchingInputNode", b"initWithArgumentIndex:"
5293
+ )
5294
+ objc.registerNewKeywordsFromSelector(
5295
+ "MTLRasterizationRateLayerDescriptor", b"initWithSampleCount:"
5296
+ )
5297
+ objc.registerNewKeywordsFromSelector(
5298
+ "MTLRasterizationRateLayerDescriptor", b"initWithSampleCount:horizontal:vertical:"
5299
+ )
5300
+ objc.registerNewKeywordsFromSelector(
5301
+ "MTLSharedEventListener", b"initWithDispatchQueue:"
5302
+ )
5301
5303
  expressions = {
5302
5304
  "MTLResourceHazardTrackingModeMask": "0x3 << MTLResourceHazardTrackingModeShift",
5303
5305
  "MTLResourceCPUCacheModeMask": "0xf << MTLResourceCPUCacheModeShift",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyobjc-framework-Metal
3
- Version: 10.1
3
+ Version: 10.3
4
4
  Summary: Wrappers for the framework Metal on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -30,8 +30,8 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
30
  Classifier: Topic :: Software Development :: User Interfaces
31
31
  Requires-Python: >=3.8
32
32
  Description-Content-Type: text/x-rst; charset=UTF-8
33
- Requires-Dist: pyobjc-core>=10.1
34
- Requires-Dist: pyobjc-framework-Cocoa>=10.1
33
+ Requires-Dist: pyobjc-core>=10.3
34
+ Requires-Dist: pyobjc-framework-Cocoa>=10.3
35
35
  Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
36
36
  Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
37
37
  Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
@@ -72,17 +72,11 @@ PyObjCTest/test_mtlvertexdescriptor.py
72
72
  PyObjCTest/test_mtlvisiblefunctiontable.py
73
73
  metadata/Metal.fwinfo
74
74
  metadata/metadata.ini
75
- metadata/raw/arm64-12.0.fwinfo
76
75
  metadata/raw/arm64-12.3.fwinfo
77
- metadata/raw/arm64-13.0.fwinfo
78
76
  metadata/raw/arm64-13.3.fwinfo
79
- metadata/raw/arm64-14.0.fwinfo
80
- metadata/raw/arm64-14.2.fwinfo
77
+ metadata/raw/arm64-14.5.fwinfo
81
78
  metadata/raw/x86_64-10.15.fwinfo
82
79
  metadata/raw/x86_64-10.16.fwinfo
83
- metadata/raw/x86_64-12.0.fwinfo
84
80
  metadata/raw/x86_64-12.3.fwinfo
85
- metadata/raw/x86_64-13.0.fwinfo
86
81
  metadata/raw/x86_64-13.3.fwinfo
87
- metadata/raw/x86_64-14.0.fwinfo
88
- metadata/raw/x86_64-14.2.fwinfo
82
+ metadata/raw/x86_64-14.5.fwinfo
@@ -0,0 +1,2 @@
1
+ pyobjc-core>=10.3
2
+ pyobjc-framework-Cocoa>=10.3
@@ -1,7 +1,7 @@
1
1
  (This is the MIT license, note that libffi-src is a separate product with its own license)
2
2
 
3
3
  Copyright 2002, 2003 - Bill Bumgarner, Ronald Oussoren, Steve Majewski, Lele Gaifax, et.al.
4
- Copyright 2003-2022 - Ronald Oussoren
4
+ Copyright 2003-2024 - Ronald Oussoren
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
7
7
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyobjc-framework-Metal
3
- Version: 10.1
3
+ Version: 10.3
4
4
  Summary: Wrappers for the framework Metal on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -30,8 +30,8 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
30
  Classifier: Topic :: Software Development :: User Interfaces
31
31
  Requires-Python: >=3.8
32
32
  Description-Content-Type: text/x-rst; charset=UTF-8
33
- Requires-Dist: pyobjc-core>=10.1
34
- Requires-Dist: pyobjc-framework-Cocoa>=10.1
33
+ Requires-Dist: pyobjc-core>=10.3
34
+ Requires-Dist: pyobjc-framework-Cocoa>=10.3
35
35
 
36
36
 
37
37
  Wrappers for the "Metal" framework on macOS.
@@ -110,9 +110,6 @@ class TestMTLDeviceHelper(Metal.NSObject):
110
110
  def newLibraryWithSource_options_error_(self, a, b, c):
111
111
  return 1
112
112
 
113
- def newLibraryWithDescriptor_error_(self, a, b):
114
- return 1
115
-
116
113
  def maxThreadgroupMemoryLength(self):
117
114
  return 1
118
115
 
@@ -287,9 +284,6 @@ class TestMTLDeviceHelper(Metal.NSObject):
287
284
  ):
288
285
  pass
289
286
 
290
- def newLibraryWithDescriptor_completionHandler_(self, a, b):
291
- pass
292
-
293
287
  def newRenderPipelineStateWithMeshDescriptor_options_reflection_error_(
294
288
  self, a, b, c, d
295
289
  ):
@@ -597,10 +591,6 @@ class TestMTLDevice(TestCase):
597
591
  TestMTLDeviceHelper.newLibraryWithSource_options_error_, 2, b"o^@"
598
592
  )
599
593
 
600
- self.assertArgHasType(
601
- TestMTLDeviceHelper.newLibraryWithDescriptor_error_, 1, b"o^@"
602
- )
603
-
604
594
  self.assertArgHasType(
605
595
  TestMTLDeviceHelper.newTextureWithDescriptor_iosurface_plane_,
606
596
  1,
@@ -936,12 +926,6 @@ class TestMTLDevice(TestCase):
936
926
  objc._C_NSUInteger,
937
927
  )
938
928
 
939
- self.assertArgIsBlock(
940
- TestMTLDeviceHelper.newLibraryWithDescriptor_completionHandler_,
941
- 1,
942
- MTLNewLibraryCompletionHandler,
943
- )
944
-
945
929
  self.assertResultIsBOOL(TestMTLDeviceHelper.supportsPrimitiveMotionBlur)
946
930
 
947
931
  self.assertResultIsBOOL(TestMTLDeviceHelper.shouldMaximizeConcurrentCompilation)
@@ -12,6 +12,9 @@ class TestMTLEventHelper(Metal.NSObject):
12
12
  def signaledValue(self):
13
13
  pass
14
14
 
15
+ def waitUntilSignaledValue_timeoutMS_(self, a, b):
16
+ return 1
17
+
15
18
 
16
19
  class TestMTLEvent(TestCase):
17
20
  @min_os_level("10.14")
@@ -29,3 +32,11 @@ class TestMTLEvent(TestCase):
29
32
  MTLSharedEventNotificationBlock,
30
33
  )
31
34
  self.assertResultHasType(TestMTLEventHelper.signaledValue, objc._C_ULNGLNG)
35
+
36
+ self.assertResultIsBOOL(TestMTLEventHelper.waitUntilSignaledValue_timeoutMS_)
37
+ self.assertArgHasType(
38
+ TestMTLEventHelper.waitUntilSignaledValue_timeoutMS_, 0, objc._C_ULNGLNG
39
+ )
40
+ self.assertArgHasType(
41
+ TestMTLEventHelper.waitUntilSignaledValue_timeoutMS_, 1, objc._C_ULNGLNG
42
+ )
@@ -28,6 +28,9 @@ class TestMTLResourceHelper(Metal.NSObject):
28
28
  def isAliasable(self):
29
29
  return 1
30
30
 
31
+ def setOwnerWithIdentity_(self, a):
32
+ return 1
33
+
31
34
 
32
35
  class TestMTLResource(TestCase):
33
36
  def test_enum_types(self):
@@ -154,3 +157,10 @@ class TestMTLResource(TestCase):
154
157
  )
155
158
 
156
159
  self.assertResultIsBOOL(Metal.TestMTLResourceHelper.isAliasable)
160
+
161
+ self.assertResultHasType(
162
+ Metal.TestMTLResourceHelper.setOwnerWithIdentity_, objc._C_INT
163
+ )
164
+ self.assertArgHasType(
165
+ Metal.TestMTLResourceHelper.setOwnerWithIdentity_, 0, objc._C_UINT
166
+ )
@@ -1,7 +1,7 @@
1
1
  // GENERATED FILE DO NOT EDIT
2
2
  //
3
3
  // This file was generated by objective.metadata
4
- // Last update: Fri Nov 17 11:55:42 2023
4
+ // Last update: Sat May 18 09:32:02 2024
5
5
  {
6
6
  "arch": "arm64",
7
7
  "definitions": {
@@ -20002,10 +20002,13 @@
20002
20002
  "arguments": {
20003
20003
  "0": {
20004
20004
  "type": "^v"
20005
+ },
20006
+ "1": {
20007
+ "type": "@"
20005
20008
  }
20006
20009
  },
20007
20010
  "retval": {
20008
- "type": null
20011
+ "type": "v"
20009
20012
  }
20010
20013
  },
20011
20014
  "typestr": "@?",
@@ -20095,10 +20098,13 @@
20095
20098
  "arguments": {
20096
20099
  "0": {
20097
20100
  "type": "^v"
20101
+ },
20102
+ "1": {
20103
+ "type": "@"
20098
20104
  }
20099
20105
  },
20100
20106
  "retval": {
20101
- "type": null
20107
+ "type": "v"
20102
20108
  }
20103
20109
  },
20104
20110
  "typestr": "@?",
@@ -22578,10 +22584,16 @@
22578
22584
  "arguments": {
22579
22585
  "0": {
22580
22586
  "type": "^v"
22587
+ },
22588
+ "1": {
22589
+ "type": "@"
22590
+ },
22591
+ "2": {
22592
+ "type": "@"
22581
22593
  }
22582
22594
  },
22583
22595
  "retval": {
22584
- "type": null
22596
+ "type": "v"
22585
22597
  }
22586
22598
  },
22587
22599
  "typestr": "@?",
@@ -22629,10 +22641,16 @@
22629
22641
  "arguments": {
22630
22642
  "0": {
22631
22643
  "type": "^v"
22644
+ },
22645
+ "1": {
22646
+ "type": "@"
22647
+ },
22648
+ "2": {
22649
+ "type": "@"
22632
22650
  }
22633
22651
  },
22634
22652
  "retval": {
22635
- "type": null
22653
+ "type": "v"
22636
22654
  }
22637
22655
  },
22638
22656
  "typestr": "@?",
@@ -22709,10 +22727,16 @@
22709
22727
  "arguments": {
22710
22728
  "0": {
22711
22729
  "type": "^v"
22730
+ },
22731
+ "1": {
22732
+ "type": "@"
22733
+ },
22734
+ "2": {
22735
+ "type": "@"
22712
22736
  }
22713
22737
  },
22714
22738
  "retval": {
22715
- "type": null
22739
+ "type": "v"
22716
22740
  }
22717
22741
  },
22718
22742
  "typestr": "@?",
@@ -22743,10 +22767,19 @@
22743
22767
  "arguments": {
22744
22768
  "0": {
22745
22769
  "type": "^v"
22770
+ },
22771
+ "1": {
22772
+ "type": "@"
22773
+ },
22774
+ "2": {
22775
+ "type": "@"
22776
+ },
22777
+ "3": {
22778
+ "type": "@"
22746
22779
  }
22747
22780
  },
22748
22781
  "retval": {
22749
- "type": null
22782
+ "type": "v"
22750
22783
  }
22751
22784
  },
22752
22785
  "typestr": "@?",
@@ -22823,10 +22856,16 @@
22823
22856
  "arguments": {
22824
22857
  "0": {
22825
22858
  "type": "^v"
22859
+ },
22860
+ "1": {
22861
+ "type": "@"
22862
+ },
22863
+ "2": {
22864
+ "type": "@"
22826
22865
  }
22827
22866
  },
22828
22867
  "retval": {
22829
- "type": null
22868
+ "type": "v"
22830
22869
  }
22831
22870
  },
22832
22871
  "typestr": "@?",
@@ -22857,10 +22896,19 @@
22857
22896
  "arguments": {
22858
22897
  "0": {
22859
22898
  "type": "^v"
22899
+ },
22900
+ "1": {
22901
+ "type": "@"
22902
+ },
22903
+ "2": {
22904
+ "type": "@"
22905
+ },
22906
+ "3": {
22907
+ "type": "@"
22860
22908
  }
22861
22909
  },
22862
22910
  "retval": {
22863
- "type": null
22911
+ "type": "v"
22864
22912
  }
22865
22913
  },
22866
22914
  "typestr": "@?",
@@ -22920,10 +22968,19 @@
22920
22968
  "arguments": {
22921
22969
  "0": {
22922
22970
  "type": "^v"
22971
+ },
22972
+ "1": {
22973
+ "type": "@"
22974
+ },
22975
+ "2": {
22976
+ "type": "@"
22977
+ },
22978
+ "3": {
22979
+ "type": "@"
22923
22980
  }
22924
22981
  },
22925
22982
  "retval": {
22926
- "type": null
22983
+ "type": "v"
22927
22984
  }
22928
22985
  },
22929
22986
  "typestr": "@?",
@@ -23074,10 +23131,19 @@
23074
23131
  "arguments": {
23075
23132
  "0": {
23076
23133
  "type": "^v"
23134
+ },
23135
+ "1": {
23136
+ "type": "@"
23137
+ },
23138
+ "2": {
23139
+ "type": "@"
23140
+ },
23141
+ "3": {
23142
+ "type": "@"
23077
23143
  }
23078
23144
  },
23079
23145
  "retval": {
23080
- "type": null
23146
+ "type": "v"
23081
23147
  }
23082
23148
  },
23083
23149
  "typestr": "@?",
@@ -23137,10 +23203,19 @@
23137
23203
  "arguments": {
23138
23204
  "0": {
23139
23205
  "type": "^v"
23206
+ },
23207
+ "1": {
23208
+ "type": "@"
23209
+ },
23210
+ "2": {
23211
+ "type": "@"
23212
+ },
23213
+ "3": {
23214
+ "type": "@"
23140
23215
  }
23141
23216
  },
23142
23217
  "retval": {
23143
- "type": null
23218
+ "type": "v"
23144
23219
  }
23145
23220
  },
23146
23221
  "typestr": "@?",
@@ -24660,10 +24735,13 @@
24660
24735
  "arguments": {
24661
24736
  "0": {
24662
24737
  "type": "^v"
24738
+ },
24739
+ "1": {
24740
+ "type": "@"
24663
24741
  }
24664
24742
  },
24665
24743
  "retval": {
24666
- "type": null
24744
+ "type": "v"
24667
24745
  }
24668
24746
  },
24669
24747
  "typestr": "@?",
@@ -25878,10 +25956,13 @@
25878
25956
  "arguments": {
25879
25957
  "0": {
25880
25958
  "type": "^v"
25959
+ },
25960
+ "1": {
25961
+ "type": "@"
25881
25962
  }
25882
25963
  },
25883
25964
  "retval": {
25884
- "type": null
25965
+ "type": "v"
25885
25966
  }
25886
25967
  },
25887
25968
  "typestr": "@?",
@@ -31376,6 +31457,22 @@
31376
31457
  "selector": "isAliasable",
31377
31458
  "visibility": "public"
31378
31459
  },
31460
+ {
31461
+ "args": [
31462
+ {
31463
+ "typestr": "I",
31464
+ "typestr_special": false
31465
+ }
31466
+ ],
31467
+ "class_method": false,
31468
+ "required": true,
31469
+ "retval": {
31470
+ "typestr": "i",
31471
+ "typestr_special": false
31472
+ },
31473
+ "selector": "setOwnerWithIdentity:",
31474
+ "visibility": "public"
31475
+ },
31379
31476
  {
31380
31477
  "args": [],
31381
31478
  "class_method": false,
@@ -31838,10 +31935,16 @@
31838
31935
  "arguments": {
31839
31936
  "0": {
31840
31937
  "type": "^v"
31938
+ },
31939
+ "1": {
31940
+ "type": "@"
31941
+ },
31942
+ "2": {
31943
+ "type": "Q"
31841
31944
  }
31842
31945
  },
31843
31946
  "retval": {
31844
- "type": null
31947
+ "type": "v"
31845
31948
  }
31846
31949
  },
31847
31950
  "typestr": "@?",
@@ -31868,6 +31971,26 @@
31868
31971
  "selector": "newSharedEventHandle",
31869
31972
  "visibility": "public"
31870
31973
  },
31974
+ {
31975
+ "args": [
31976
+ {
31977
+ "typestr": "Q",
31978
+ "typestr_special": false
31979
+ },
31980
+ {
31981
+ "typestr": "Q",
31982
+ "typestr_special": false
31983
+ }
31984
+ ],
31985
+ "class_method": false,
31986
+ "required": true,
31987
+ "retval": {
31988
+ "typestr": "Z",
31989
+ "typestr_special": true
31990
+ },
31991
+ "selector": "waitUntilSignaledValue:timeoutMS:",
31992
+ "visibility": "public"
31993
+ },
31871
31994
  {
31872
31995
  "args": [],
31873
31996
  "class_method": false,
@@ -33445,7 +33568,7 @@
33445
33568
  "MTLPackedFloat3": {
33446
33569
  "fieldnames": [],
33447
33570
  "special": false,
33448
- "typestr": "{_MTLPackedFloat3=(union (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureTypes.h:10:5)={struct (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureTypes.h:11:9)=fff}[3f])}"
33571
+ "typestr": "{_MTLPackedFloat3=(union (anonymous at /Users/ronald/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureTypes.h:10:5)={struct (anonymous at /Users/ronald/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureTypes.h:11:9)=fff}[3f])}"
33449
33572
  },
33450
33573
  "MTLPackedFloat4x3": {
33451
33574
  "fieldnames": [
@@ -33765,5 +33888,5 @@
33765
33888
  "MTLVisibleFunctionTable.h"
33766
33889
  ],
33767
33890
  "release": "10.16",
33768
- "sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk"
33891
+ "sdk": "/Users/ronald/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk"
33769
33892
  }