pyobjc-framework-SceneKit 11.1__tar.gz → 12.0__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.
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/Lib/SceneKit/_metadata.py +1 -1
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/Lib/pyobjc_framework_SceneKit.egg-info/PKG-INFO +6 -4
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/Lib/pyobjc_framework_SceneKit.egg-info/SOURCES.txt +2 -6
- pyobjc_framework_scenekit-12.0/Lib/pyobjc_framework_SceneKit.egg-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_scenekit-12.0/Lib/pyobjc_framework_SceneKit.egg-info/requires.txt +3 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/Modules/_SceneKit.m +18 -22
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/Modules/_SceneKit_inlines.m +18 -21
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/Modules/_SceneKit_protocols.m +2 -1
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/Modules/pyobjc-api.h +6 -3
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/Modules/pyobjc-compat.h +32 -48
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PKG-INFO +6 -4
- pyobjc_framework_scenekit-11.1/metadata/raw/arm64-15.0.fwinfo → pyobjc_framework_scenekit-12.0/metadata/raw/arm64-26.0.fwinfo +41 -41
- pyobjc_framework_scenekit-11.1/metadata/raw/x86_64-15.0.fwinfo → pyobjc_framework_scenekit-12.0/metadata/raw/x86_64-26.0.fwinfo +41 -41
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/pyobjc_setup.py +2 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/setup.py +1 -1
- pyobjc_framework_scenekit-11.1/Lib/pyobjc_framework_SceneKit.egg-info/pyobjc-build-info.txt +0 -3
- pyobjc_framework_scenekit-11.1/Lib/pyobjc_framework_SceneKit.egg-info/requires.txt +0 -3
- pyobjc_framework_scenekit-11.1/metadata/raw/arm64-13.0.fwinfo +0 -29005
- pyobjc_framework_scenekit-11.1/metadata/raw/arm64-14.5.fwinfo +0 -29063
- pyobjc_framework_scenekit-11.1/metadata/raw/x86_64-13.0.fwinfo +0 -29005
- pyobjc_framework_scenekit-11.1/metadata/raw/x86_64-14.5.fwinfo +0 -29063
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/Lib/SceneKit/__init__.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/Lib/pyobjc_framework_SceneKit.egg-info/dependency_links.txt +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/Lib/pyobjc_framework_SceneKit.egg-info/not-zip-safe +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/Lib/pyobjc_framework_SceneKit.egg-info/top_level.txt +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/License.txt +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/MANIFEST.in +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/__init__.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scenekit.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scenekittypes.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scnaction.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scnanimation.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scnaudiosource.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scnboundingvolume.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scncamera.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scncameracontroller.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scnconstraint.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scngeometry.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scnhittest.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scnjavascript.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scnlight.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scnmaterial.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scnmaterialproperty.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scnmorpher.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scnnode.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scnparametricgeometry.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scnparticlesystem.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scnphysicsbody.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scnphysicsfield.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scnphysicsshape.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scnphysicsworld.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scnreferencenode.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scnscene.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scnscenerenderer.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scnscenesource.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scnshadable.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scntechnique.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scntransaction.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/PyObjCTest/test_scnview.py +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/metadata/SceneKit.fwinfo +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/metadata/metadata.ini +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/pyproject.toml +0 -0
- {pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-SceneKit
|
|
3
|
-
Version:
|
|
3
|
+
Version: 12.0
|
|
4
4
|
Summary: Wrappers for the framework SceneKit on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -23,15 +23,17 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.12
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.13
|
|
25
25
|
Classifier: Programming Language :: Python :: 3.14
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
26
27
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
|
+
Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
|
|
27
29
|
Classifier: Programming Language :: Objective C
|
|
28
30
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
29
31
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
30
32
|
Requires-Python: >=3.9
|
|
31
33
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
32
|
-
Requires-Dist: pyobjc-core>=
|
|
33
|
-
Requires-Dist: pyobjc-framework-Cocoa>=
|
|
34
|
-
Requires-Dist: pyobjc-framework-Quartz>=
|
|
34
|
+
Requires-Dist: pyobjc-core>=12.0
|
|
35
|
+
Requires-Dist: pyobjc-framework-Cocoa>=12.0
|
|
36
|
+
Requires-Dist: pyobjc-framework-Quartz>=12.0
|
|
35
37
|
Dynamic: author
|
|
36
38
|
Dynamic: author-email
|
|
37
39
|
Dynamic: classifier
|
|
@@ -51,9 +51,5 @@ PyObjCTest/test_scntransaction.py
|
|
|
51
51
|
PyObjCTest/test_scnview.py
|
|
52
52
|
metadata/SceneKit.fwinfo
|
|
53
53
|
metadata/metadata.ini
|
|
54
|
-
metadata/raw/arm64-
|
|
55
|
-
metadata/raw/
|
|
56
|
-
metadata/raw/arm64-15.0.fwinfo
|
|
57
|
-
metadata/raw/x86_64-13.0.fwinfo
|
|
58
|
-
metadata/raw/x86_64-14.5.fwinfo
|
|
59
|
-
metadata/raw/x86_64-15.0.fwinfo
|
|
54
|
+
metadata/raw/arm64-26.0.fwinfo
|
|
55
|
+
metadata/raw/x86_64-26.0.fwinfo
|
|
@@ -115,7 +115,8 @@ static PyMethodDef mod_methods[] = {
|
|
|
115
115
|
{0, 0, 0, 0} /* sentinel */
|
|
116
116
|
};
|
|
117
117
|
|
|
118
|
-
static int
|
|
118
|
+
static int
|
|
119
|
+
mod_exec_module(PyObject* m)
|
|
119
120
|
{
|
|
120
121
|
if (PyObjC_ImportAPI(m) == -1)
|
|
121
122
|
return -1;
|
|
@@ -123,50 +124,45 @@ static int mod_exec_module(PyObject* m)
|
|
|
123
124
|
return 0;
|
|
124
125
|
}
|
|
125
126
|
|
|
126
|
-
|
|
127
127
|
static struct PyModuleDef_Slot mod_slots[] = {
|
|
128
|
-
{
|
|
129
|
-
.slot = Py_mod_exec,
|
|
130
|
-
.value = (void*)mod_exec_module
|
|
131
|
-
},
|
|
128
|
+
{.slot = Py_mod_exec, .value = (void*)mod_exec_module},
|
|
132
129
|
#if PY_VERSION_HEX >= 0x030c0000
|
|
133
130
|
{
|
|
134
131
|
/* This extension does not use the CPython API other than initializing
|
|
135
132
|
* the module, hence is safe with subinterpreters and per-interpreter
|
|
136
133
|
* GILs
|
|
137
134
|
*/
|
|
138
|
-
.slot
|
|
135
|
+
.slot = Py_mod_multiple_interpreters,
|
|
139
136
|
.value = Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED,
|
|
140
137
|
},
|
|
141
138
|
#endif
|
|
142
139
|
#if PY_VERSION_HEX >= 0x030d0000
|
|
143
140
|
{
|
|
144
141
|
/* The code in this extension should be safe to use without the GIL */
|
|
145
|
-
.slot
|
|
142
|
+
.slot = Py_mod_gil,
|
|
146
143
|
.value = Py_MOD_GIL_NOT_USED,
|
|
147
144
|
},
|
|
148
145
|
#endif
|
|
149
|
-
{
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
}
|
|
153
|
-
};
|
|
146
|
+
{/* Sentinel */
|
|
147
|
+
.slot = 0,
|
|
148
|
+
.value = 0}};
|
|
154
149
|
|
|
155
150
|
static struct PyModuleDef mod_module = {
|
|
156
|
-
.m_base
|
|
157
|
-
.m_name
|
|
158
|
-
.m_doc
|
|
159
|
-
.m_size
|
|
160
|
-
.m_methods
|
|
161
|
-
.m_slots
|
|
151
|
+
.m_base = PyModuleDef_HEAD_INIT,
|
|
152
|
+
.m_name = "_SceneKit",
|
|
153
|
+
.m_doc = NULL,
|
|
154
|
+
.m_size = 0,
|
|
155
|
+
.m_methods = mod_methods,
|
|
156
|
+
.m_slots = mod_slots,
|
|
162
157
|
.m_traverse = NULL,
|
|
163
|
-
.m_clear
|
|
164
|
-
.m_free
|
|
158
|
+
.m_clear = NULL,
|
|
159
|
+
.m_free = NULL,
|
|
165
160
|
};
|
|
166
161
|
|
|
167
162
|
PyObject* PyInit__SceneKit(void);
|
|
168
163
|
|
|
169
|
-
PyObject* __attribute__((__visibility__("default")))
|
|
164
|
+
PyObject* __attribute__((__visibility__("default")))
|
|
165
|
+
PyInit__SceneKit(void)
|
|
170
166
|
{
|
|
171
167
|
return PyModuleDef_Init(&mod_module);
|
|
172
168
|
}
|
{pyobjc_framework_scenekit-11.1 → pyobjc_framework_scenekit-12.0}/Modules/_SceneKit_inlines.m
RENAMED
|
@@ -40,7 +40,8 @@ static PyMethodDef mod_methods[] = {
|
|
|
40
40
|
{0, 0, 0, 0} /* sentinel */
|
|
41
41
|
};
|
|
42
42
|
|
|
43
|
-
static int
|
|
43
|
+
static int
|
|
44
|
+
mod_exec_module(PyObject* m)
|
|
44
45
|
{
|
|
45
46
|
if (PyModule_AddObject(m, "_inline_list_", PyObjC_CreateInlineTab(function_map)) < 0)
|
|
46
47
|
return -1;
|
|
@@ -49,48 +50,44 @@ static int mod_exec_module(PyObject* m)
|
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
static struct PyModuleDef_Slot mod_slots[] = {
|
|
52
|
-
{
|
|
53
|
-
.slot = Py_mod_exec,
|
|
54
|
-
.value = (void*)mod_exec_module
|
|
55
|
-
},
|
|
53
|
+
{.slot = Py_mod_exec, .value = (void*)mod_exec_module},
|
|
56
54
|
#if PY_VERSION_HEX >= 0x030c0000
|
|
57
55
|
{
|
|
58
56
|
/* This extension does not use the CPython API other than initializing
|
|
59
57
|
* the module, hence is safe with subinterpreters and per-interpreter
|
|
60
58
|
* GILs
|
|
61
59
|
*/
|
|
62
|
-
.slot
|
|
60
|
+
.slot = Py_mod_multiple_interpreters,
|
|
63
61
|
.value = Py_MOD_PER_INTERPRETER_GIL_SUPPORTED,
|
|
64
62
|
},
|
|
65
63
|
#endif
|
|
66
64
|
#if PY_VERSION_HEX >= 0x030d0000
|
|
67
65
|
{
|
|
68
66
|
/* The code in this extension should be safe to use without the GIL */
|
|
69
|
-
.slot
|
|
67
|
+
.slot = Py_mod_gil,
|
|
70
68
|
.value = Py_MOD_GIL_NOT_USED,
|
|
71
69
|
},
|
|
72
70
|
#endif
|
|
73
|
-
{
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
};
|
|
71
|
+
{/* Sentinel */
|
|
72
|
+
.slot = 0,
|
|
73
|
+
.value = 0}};
|
|
78
74
|
|
|
79
75
|
static struct PyModuleDef mod_module = {
|
|
80
|
-
.m_base
|
|
81
|
-
.m_name
|
|
82
|
-
.m_doc
|
|
83
|
-
.m_size
|
|
84
|
-
.m_methods
|
|
85
|
-
.m_slots
|
|
76
|
+
.m_base = PyModuleDef_HEAD_INIT,
|
|
77
|
+
.m_name = "_inlines",
|
|
78
|
+
.m_doc = NULL,
|
|
79
|
+
.m_size = 0,
|
|
80
|
+
.m_methods = mod_methods,
|
|
81
|
+
.m_slots = mod_slots,
|
|
86
82
|
.m_traverse = NULL,
|
|
87
|
-
.m_clear
|
|
88
|
-
.m_free
|
|
83
|
+
.m_clear = NULL,
|
|
84
|
+
.m_free = NULL,
|
|
89
85
|
};
|
|
90
86
|
|
|
91
87
|
PyObject* PyInit__inlines(void);
|
|
92
88
|
|
|
93
|
-
PyObject* __attribute__((__visibility__("default")))
|
|
89
|
+
PyObject* __attribute__((__visibility__("default")))
|
|
90
|
+
PyInit__inlines(void)
|
|
94
91
|
{
|
|
95
92
|
return PyModuleDef_Init(&mod_module);
|
|
96
93
|
}
|
|
@@ -53,8 +53,9 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
53
53
|
/*
|
|
54
54
|
* Only add items to the end of this list!
|
|
55
55
|
*/
|
|
56
|
+
|
|
56
57
|
typedef int(RegisterMethodMappingFunctionType)(
|
|
57
|
-
Class, SEL,
|
|
58
|
+
Class _Nullable, SEL,
|
|
58
59
|
PyObject* _Nullable (*_Nonnull)(PyObject* _Nonnull, PyObject* _Nonnull,
|
|
59
60
|
PyObject* _Nonnull const* _Nonnull, size_t),
|
|
60
61
|
IMP _Nullable (*_Nonnull)(PyObject* _Nonnull, PyObject* _Nonnull));
|
|
@@ -83,7 +84,8 @@ struct pyobjc_api {
|
|
|
83
84
|
PyObject* _Nullable (*_Nonnull unsupported_method_caller)(
|
|
84
85
|
PyObject* _Nonnull, PyObject* _Nonnull, PyObject* _Nonnull const* _Nonnull,
|
|
85
86
|
size_t);
|
|
86
|
-
void (*_Nonnull err_python_to_objc_gil)(PyGILState_STATE* _Nonnull state)
|
|
87
|
+
void (*_Nonnull err_python_to_objc_gil)(PyGILState_STATE* _Nonnull state)
|
|
88
|
+
__attribute__((__noreturn__));
|
|
87
89
|
int (*_Nonnull simplify_sig)(const char* signature, char* buf, size_t buflen);
|
|
88
90
|
void (*_Nonnull free_c_array)(int, Py_buffer*);
|
|
89
91
|
int (*_Nonnull py_to_c_array)(BOOL, BOOL, const char* _Nonnull, PyObject* _Nonnull,
|
|
@@ -113,7 +115,8 @@ struct pyobjc_api {
|
|
|
113
115
|
int (*_Nonnull checknokwnames)(PyObject* _Nonnull callable,
|
|
114
116
|
PyObject* _Nullable kwnames);
|
|
115
117
|
|
|
116
|
-
PyObject* _Nullable (*_Nonnull createopaquepointertype)(const char*, const char*,
|
|
118
|
+
PyObject* _Nullable (*_Nonnull createopaquepointertype)(const char*, const char*,
|
|
119
|
+
const char*);
|
|
117
120
|
};
|
|
118
121
|
|
|
119
122
|
#ifndef PYOBJC_BUILD
|
|
@@ -123,34 +123,6 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
123
123
|
} while (0)
|
|
124
124
|
#endif
|
|
125
125
|
|
|
126
|
-
#if PY_VERSION_HEX < 0x03090000
|
|
127
|
-
|
|
128
|
-
/* For use on Python 3.8 and earlier. PyObjC doesn't use the
|
|
129
|
-
* "flag" bit internally.
|
|
130
|
-
*/
|
|
131
|
-
|
|
132
|
-
#ifndef PY_VECTORCALL_ARGUMENTS_OFFSET
|
|
133
|
-
#define PY_VECTORCALL_ARGUMENTS_OFFSET ((size_t)1 << (8 * sizeof(size_t) - 1))
|
|
134
|
-
#endif
|
|
135
|
-
|
|
136
|
-
#define PyVectorcall_NARGS(nargsf) ((nargsf) & ~PY_VECTORCALL_ARGUMENTS_OFFSET)
|
|
137
|
-
|
|
138
|
-
#ifdef OBJC_VERSION
|
|
139
|
-
/* Don't use PyObject prefixed symbols in our binaries */
|
|
140
|
-
#define PyObject_Vectorcall PyObjC_Vectorcall
|
|
141
|
-
#define PyObject_VectorcallMethod PyObjC_VectorcallMethod
|
|
142
|
-
|
|
143
|
-
extern PyObject* _Nullable PyObject_Vectorcall(PyObject* callable,
|
|
144
|
-
PyObject* _Nonnull const* _Nonnull args,
|
|
145
|
-
size_t nargsf,
|
|
146
|
-
PyObject* _Nullable kwnames);
|
|
147
|
-
extern PyObject* _Nullable PyObject_VectorcallMethod(
|
|
148
|
-
PyObject* name, PyObject* _Nonnull const* _Nonnull args, size_t nargsf,
|
|
149
|
-
PyObject* _Nullable kwnames);
|
|
150
|
-
#endif
|
|
151
|
-
|
|
152
|
-
#endif /* Python < 3.9 */
|
|
153
|
-
|
|
154
126
|
/* Use CLINIC_SEP between the prototype and
|
|
155
127
|
* description in doc strings, to get clean
|
|
156
128
|
* docstrings.
|
|
@@ -198,7 +170,10 @@ _PyObjCTuple_SetItem(PyObject* tuple, Py_ssize_t idx, PyObject* _Nullable value)
|
|
|
198
170
|
static inline PyObject*
|
|
199
171
|
_PyObjCTuple_GetItem(PyObject* tuple, Py_ssize_t idx)
|
|
200
172
|
{
|
|
201
|
-
|
|
173
|
+
/* The protocol for tuples is that they are full initialized
|
|
174
|
+
* before handing them over to other code.
|
|
175
|
+
*/
|
|
176
|
+
return (PyObject* _Nonnull)PyTuple_GET_ITEM(tuple, idx); // LCOV_BR_EXCL_LINE
|
|
202
177
|
}
|
|
203
178
|
#undef PyTuple_GET_ITEM
|
|
204
179
|
#define PyTuple_GET_ITEM(a, b) _PyObjCTuple_GetItem(a, b)
|
|
@@ -242,13 +217,15 @@ _PyObjCTuple_GetItem(PyObject* tuple, Py_ssize_t idx)
|
|
|
242
217
|
|
|
243
218
|
#if PY_VERSION_HEX < 0x030a0000
|
|
244
219
|
|
|
245
|
-
static inline PyObject*
|
|
220
|
+
static inline PyObject*
|
|
221
|
+
Py_NewRef(PyObject* o)
|
|
246
222
|
{
|
|
247
223
|
Py_INCREF(o);
|
|
248
224
|
return o;
|
|
249
225
|
}
|
|
250
226
|
|
|
251
|
-
static inline PyObject*
|
|
227
|
+
static inline PyObject*
|
|
228
|
+
Py_XNewRef(PyObject* o)
|
|
252
229
|
{
|
|
253
230
|
Py_XINCREF(o);
|
|
254
231
|
return o;
|
|
@@ -257,11 +234,16 @@ static inline PyObject* Py_XNewRef(PyObject* o)
|
|
|
257
234
|
#endif /* PY_VERSION_HEX < 0x030a0000 */
|
|
258
235
|
|
|
259
236
|
#if PY_VERSION_HEX < 0x030d0000
|
|
260
|
-
#define Py_BEGIN_CRITICAL_SECTION(value)
|
|
237
|
+
#define Py_BEGIN_CRITICAL_SECTION(value) \
|
|
238
|
+
{ \
|
|
239
|
+
(void)(value);
|
|
261
240
|
#define Py_END_CRITICAL_SECTION() }
|
|
262
241
|
#define Py_EXIT_CRITICAL_SECTION() ((void)0)
|
|
263
242
|
|
|
264
|
-
#define Py_BEGIN_CRITICAL_SECTION2(value1, value2)
|
|
243
|
+
#define Py_BEGIN_CRITICAL_SECTION2(value1, value2) \
|
|
244
|
+
{ \
|
|
245
|
+
(void)(value1); \
|
|
246
|
+
(void)(value2);
|
|
265
247
|
#define Py_END_CRITICAL_SECTION2() }
|
|
266
248
|
#define Py_EXIT_CRITICAL_SECTION2() ((void)0)
|
|
267
249
|
|
|
@@ -282,7 +264,8 @@ static inline PyObject* Py_XNewRef(PyObject* o)
|
|
|
282
264
|
#endif
|
|
283
265
|
|
|
284
266
|
#if PY_VERSION_HEX < 0x030d0000
|
|
285
|
-
static inline int
|
|
267
|
+
static inline int
|
|
268
|
+
PyDict_GetItemRef(PyObject* p, PyObject* key, PyObject* _Nonnull* _Nullable result)
|
|
286
269
|
{
|
|
287
270
|
*result = PyDict_GetItemWithError(p, key);
|
|
288
271
|
if (*result == NULL) {
|
|
@@ -306,7 +289,8 @@ static inline PyObject* _Nullable PyList_GetItemRef(PyObject* l, Py_ssize_t i)
|
|
|
306
289
|
#endif
|
|
307
290
|
|
|
308
291
|
#if PY_VERSION_HEX < 0x030c0000
|
|
309
|
-
static inline PyObject*
|
|
292
|
+
static inline PyObject*
|
|
293
|
+
PyType_GetDict(PyTypeObject* type)
|
|
310
294
|
{
|
|
311
295
|
PyObject* result = type->tp_dict;
|
|
312
296
|
Py_INCREF(result);
|
|
@@ -319,12 +303,13 @@ static inline PyObject* PyType_GetDict(PyTypeObject* type)
|
|
|
319
303
|
* These are available in 3.14 and above, the definitions below
|
|
320
304
|
* mirror the private implementation in 3.13.
|
|
321
305
|
*/
|
|
322
|
-
static inline int
|
|
306
|
+
static inline int
|
|
307
|
+
PyUnstable_Object_IsUniquelyReferenced(PyObject* ob)
|
|
323
308
|
{
|
|
324
309
|
#ifdef Py_GIL_DISABLED
|
|
325
|
-
return (_Py_IsOwnedByCurrentThread(ob)
|
|
326
|
-
_Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1
|
|
327
|
-
_Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
|
|
310
|
+
return (_Py_IsOwnedByCurrentThread(ob)
|
|
311
|
+
&& _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1
|
|
312
|
+
&& _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
|
|
328
313
|
#else
|
|
329
314
|
return Py_REFCNT(ob) == 1;
|
|
330
315
|
#endif
|
|
@@ -340,8 +325,8 @@ PyUnstable_EnableTryIncRef(PyObject* op __attribute__((__unused__)))
|
|
|
340
325
|
// Nothing to do if it's in WEAKREFS, QUEUED, or MERGED states.
|
|
341
326
|
return;
|
|
342
327
|
}
|
|
343
|
-
if (_Py_atomic_compare_exchange_ssize(
|
|
344
|
-
|
|
328
|
+
if (_Py_atomic_compare_exchange_ssize(&op->ob_ref_shared, &shared,
|
|
329
|
+
shared | _Py_REF_MAYBE_WEAKREF)) {
|
|
345
330
|
return;
|
|
346
331
|
}
|
|
347
332
|
}
|
|
@@ -350,7 +335,8 @@ PyUnstable_EnableTryIncRef(PyObject* op __attribute__((__unused__)))
|
|
|
350
335
|
|
|
351
336
|
#ifdef Py_GIL_DISABLED
|
|
352
337
|
static inline int
|
|
353
|
-
_Py_TryIncrefFast(PyObject
|
|
338
|
+
_Py_TryIncrefFast(PyObject* op)
|
|
339
|
+
{
|
|
354
340
|
uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
|
|
355
341
|
local += 1;
|
|
356
342
|
if (local == 0) {
|
|
@@ -369,7 +355,7 @@ _Py_TryIncrefFast(PyObject *op) {
|
|
|
369
355
|
}
|
|
370
356
|
|
|
371
357
|
static inline int
|
|
372
|
-
_Py_TryIncRefShared(PyObject
|
|
358
|
+
_Py_TryIncRefShared(PyObject* op)
|
|
373
359
|
{
|
|
374
360
|
Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&op->ob_ref_shared);
|
|
375
361
|
for (;;) {
|
|
@@ -379,10 +365,8 @@ _Py_TryIncRefShared(PyObject *op)
|
|
|
379
365
|
return 0;
|
|
380
366
|
}
|
|
381
367
|
|
|
382
|
-
if (_Py_atomic_compare_exchange_ssize(
|
|
383
|
-
|
|
384
|
-
&shared,
|
|
385
|
-
shared + (1 << _Py_REF_SHARED_SHIFT))) {
|
|
368
|
+
if (_Py_atomic_compare_exchange_ssize(&op->ob_ref_shared, &shared,
|
|
369
|
+
shared + (1 << _Py_REF_SHARED_SHIFT))) {
|
|
386
370
|
#ifdef Py_REF_DEBUG
|
|
387
371
|
_Py_IncRefTotal(_PyThreadState_GET());
|
|
388
372
|
#endif
|
|
@@ -394,7 +378,7 @@ _Py_TryIncRefShared(PyObject *op)
|
|
|
394
378
|
#endif
|
|
395
379
|
|
|
396
380
|
static inline int
|
|
397
|
-
PyUnstable_TryIncRef(PyObject
|
|
381
|
+
PyUnstable_TryIncRef(PyObject* op __attribute__((__unused__)))
|
|
398
382
|
{
|
|
399
383
|
#ifdef Py_GIL_DISABLED
|
|
400
384
|
return _Py_TryIncrefFast(op) || _Py_TryIncRefShared(op);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-SceneKit
|
|
3
|
-
Version:
|
|
3
|
+
Version: 12.0
|
|
4
4
|
Summary: Wrappers for the framework SceneKit on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -23,15 +23,17 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.12
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.13
|
|
25
25
|
Classifier: Programming Language :: Python :: 3.14
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
26
27
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
|
+
Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
|
|
27
29
|
Classifier: Programming Language :: Objective C
|
|
28
30
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
29
31
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
30
32
|
Requires-Python: >=3.9
|
|
31
33
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
32
|
-
Requires-Dist: pyobjc-core>=
|
|
33
|
-
Requires-Dist: pyobjc-framework-Cocoa>=
|
|
34
|
-
Requires-Dist: pyobjc-framework-Quartz>=
|
|
34
|
+
Requires-Dist: pyobjc-core>=12.0
|
|
35
|
+
Requires-Dist: pyobjc-framework-Cocoa>=12.0
|
|
36
|
+
Requires-Dist: pyobjc-framework-Quartz>=12.0
|
|
35
37
|
Dynamic: author
|
|
36
38
|
Dynamic: author-email
|
|
37
39
|
Dynamic: classifier
|
|
@@ -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:
|
|
4
|
+
// Last update: Thu Jul 24 11:17:45 2025
|
|
5
5
|
{
|
|
6
6
|
"arch": "arm64",
|
|
7
7
|
"definitions": {
|
|
@@ -13094,31 +13094,6 @@
|
|
|
13094
13094
|
"selector": "setCategoryBitMask:",
|
|
13095
13095
|
"visibility": "public"
|
|
13096
13096
|
},
|
|
13097
|
-
{
|
|
13098
|
-
"args": [],
|
|
13099
|
-
"class_method": false,
|
|
13100
|
-
"retval": {
|
|
13101
|
-
"typestr": "q",
|
|
13102
|
-
"typestr_special": false
|
|
13103
|
-
},
|
|
13104
|
-
"selector": "focusBehavior",
|
|
13105
|
-
"visibility": "public"
|
|
13106
|
-
},
|
|
13107
|
-
{
|
|
13108
|
-
"args": [
|
|
13109
|
-
{
|
|
13110
|
-
"typestr": "q",
|
|
13111
|
-
"typestr_special": false
|
|
13112
|
-
}
|
|
13113
|
-
],
|
|
13114
|
-
"class_method": false,
|
|
13115
|
-
"retval": {
|
|
13116
|
-
"typestr": "v",
|
|
13117
|
-
"typestr_special": false
|
|
13118
|
-
},
|
|
13119
|
-
"selector": "setFocusBehavior:",
|
|
13120
|
-
"visibility": "public"
|
|
13121
|
-
},
|
|
13122
13097
|
{
|
|
13123
13098
|
"args": [
|
|
13124
13099
|
{
|
|
@@ -13777,6 +13752,31 @@
|
|
|
13777
13752
|
"selector": "simdWorldFront",
|
|
13778
13753
|
"visibility": "public"
|
|
13779
13754
|
},
|
|
13755
|
+
{
|
|
13756
|
+
"args": [],
|
|
13757
|
+
"class_method": false,
|
|
13758
|
+
"retval": {
|
|
13759
|
+
"typestr": "q",
|
|
13760
|
+
"typestr_special": false
|
|
13761
|
+
},
|
|
13762
|
+
"selector": "focusBehavior",
|
|
13763
|
+
"visibility": "public"
|
|
13764
|
+
},
|
|
13765
|
+
{
|
|
13766
|
+
"args": [
|
|
13767
|
+
{
|
|
13768
|
+
"typestr": "q",
|
|
13769
|
+
"typestr_special": false
|
|
13770
|
+
}
|
|
13771
|
+
],
|
|
13772
|
+
"class_method": false,
|
|
13773
|
+
"retval": {
|
|
13774
|
+
"typestr": "v",
|
|
13775
|
+
"typestr_special": false
|
|
13776
|
+
},
|
|
13777
|
+
"selector": "setFocusBehavior:",
|
|
13778
|
+
"visibility": "public"
|
|
13779
|
+
},
|
|
13780
13780
|
{
|
|
13781
13781
|
"args": [
|
|
13782
13782
|
{
|
|
@@ -14150,14 +14150,6 @@
|
|
|
14150
14150
|
"typestr": "Q",
|
|
14151
14151
|
"typestr_special": false
|
|
14152
14152
|
},
|
|
14153
|
-
{
|
|
14154
|
-
"attributes": [
|
|
14155
|
-
"nonatomic"
|
|
14156
|
-
],
|
|
14157
|
-
"name": "focusBehavior",
|
|
14158
|
-
"typestr": "q",
|
|
14159
|
-
"typestr_special": false
|
|
14160
|
-
},
|
|
14161
14153
|
{
|
|
14162
14154
|
"attributes": [
|
|
14163
14155
|
"nonatomic",
|
|
@@ -14346,6 +14338,14 @@
|
|
|
14346
14338
|
"typestr": "<3f>",
|
|
14347
14339
|
"typestr_special": true
|
|
14348
14340
|
},
|
|
14341
|
+
{
|
|
14342
|
+
"attributes": [
|
|
14343
|
+
"nonatomic"
|
|
14344
|
+
],
|
|
14345
|
+
"name": "focusBehavior",
|
|
14346
|
+
"typestr": "q",
|
|
14347
|
+
"typestr_special": false
|
|
14348
|
+
},
|
|
14349
14349
|
{
|
|
14350
14350
|
"attributes": [
|
|
14351
14351
|
"readonly"
|
|
@@ -28742,7 +28742,7 @@
|
|
|
28742
28742
|
"args": [
|
|
28743
28743
|
{
|
|
28744
28744
|
"name": "mat",
|
|
28745
|
-
"typestr": "(_GLKMatrix4={struct (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
|
|
28745
|
+
"typestr": "(_GLKMatrix4={struct (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/GLKit.framework/Headers/GLKMathTypes.h:80:5)=ffffffffffffffff}[16f])"
|
|
28746
28746
|
}
|
|
28747
28747
|
],
|
|
28748
28748
|
"retval": {
|
|
@@ -28919,7 +28919,7 @@
|
|
|
28919
28919
|
}
|
|
28920
28920
|
],
|
|
28921
28921
|
"retval": {
|
|
28922
|
-
"typestr": "(_GLKMatrix4={struct (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
|
|
28922
|
+
"typestr": "(_GLKMatrix4={struct (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/GLKit.framework/Headers/GLKMathTypes.h:80:5)=ffffffffffffffff}[16f])"
|
|
28923
28923
|
}
|
|
28924
28924
|
},
|
|
28925
28925
|
"SCNMatrix4ToMat4": {
|
|
@@ -28989,7 +28989,7 @@
|
|
|
28989
28989
|
"args": [
|
|
28990
28990
|
{
|
|
28991
28991
|
"name": "vector",
|
|
28992
|
-
"typestr": "(_GLKVector3={struct (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
|
|
28992
|
+
"typestr": "(_GLKVector3={struct (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/GLKit.framework/Headers/GLKMathTypes.h:117:5)=fff}{struct (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/GLKit.framework/Headers/GLKMathTypes.h:118:5)=fff}{struct (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/GLKit.framework/Headers/GLKMathTypes.h:119:5)=fff}[3f])"
|
|
28993
28993
|
}
|
|
28994
28994
|
],
|
|
28995
28995
|
"inline": true,
|
|
@@ -29038,7 +29038,7 @@
|
|
|
29038
29038
|
],
|
|
29039
29039
|
"inline": true,
|
|
29040
29040
|
"retval": {
|
|
29041
|
-
"typestr": "(_GLKVector3={struct (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
|
|
29041
|
+
"typestr": "(_GLKVector3={struct (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/GLKit.framework/Headers/GLKMathTypes.h:117:5)=fff}{struct (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/GLKit.framework/Headers/GLKMathTypes.h:118:5)=fff}{struct (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/GLKit.framework/Headers/GLKMathTypes.h:119:5)=fff}[3f])"
|
|
29042
29042
|
}
|
|
29043
29043
|
},
|
|
29044
29044
|
"SCNVector4EqualToVector4": {
|
|
@@ -29072,7 +29072,7 @@
|
|
|
29072
29072
|
"args": [
|
|
29073
29073
|
{
|
|
29074
29074
|
"name": "vector",
|
|
29075
|
-
"typestr": "(_GLKVector4={struct (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
|
|
29075
|
+
"typestr": "(_GLKVector4={struct (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/GLKit.framework/Headers/GLKMathTypes.h:134:5)=ffff}{struct (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/GLKit.framework/Headers/GLKMathTypes.h:135:5)=ffff}{struct (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/GLKit.framework/Headers/GLKMathTypes.h:136:5)=ffff}[4f])"
|
|
29076
29076
|
}
|
|
29077
29077
|
],
|
|
29078
29078
|
"inline": true,
|
|
@@ -29125,7 +29125,7 @@
|
|
|
29125
29125
|
],
|
|
29126
29126
|
"inline": true,
|
|
29127
29127
|
"retval": {
|
|
29128
|
-
"typestr": "(_GLKVector4={struct (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
|
|
29128
|
+
"typestr": "(_GLKVector4={struct (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/GLKit.framework/Headers/GLKMathTypes.h:134:5)=ffff}{struct (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/GLKit.framework/Headers/GLKMathTypes.h:135:5)=ffff}{struct (anonymous at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/GLKit.framework/Headers/GLKMathTypes.h:136:5)=ffff}[4f])"
|
|
29129
29129
|
}
|
|
29130
29130
|
}
|
|
29131
29131
|
},
|
|
@@ -29277,5 +29277,5 @@
|
|
|
29277
29277
|
"SceneKitTypes.h"
|
|
29278
29278
|
],
|
|
29279
29279
|
"release": "10.16",
|
|
29280
|
-
"sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
|
|
29280
|
+
"sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk"
|
|
29281
29281
|
}
|