Debian Codegraph @

debian/patches/0005-type-fix.patch

raw symbols SCIP
1 Description: Minor cast fix needed for python3.14
2 Author: Alastair McKinstry <[email protected]>
3 Forwarded: no
4 Last-Updated: 2026-04-24
5
6 --- a/src/main/c/jni/org_jpy_PyLib.c
7 +++ b/src/main/c/jni/org_jpy_PyLib.c
8 @@ -1358,7 +1358,7 @@
9
10 JPy_BEGIN_GIL_STATE(0)
11
12 - pyObject = ((PyObject*) objId)->ob_type;
13 + pyObject = (PyObject*) ((PyObject*) objId)->ob_type;
14 JPy_INCREF(pyObject);
15
16 JPy_END_GIL_STATE
17 @@ -2255,7 +2255,7 @@
18 return pyValue;
19 }
20
21 -PyObject* PyLib_FromJObjectForTuple(JNIEnv *jenv, jobject jArg, jclass jParamClass, char* nameChars, jint index) {
22 +PyObject* PyLib_FromJObjectForTuple(JNIEnv *jenv, jobject jArg, jclass jParamClass, const char* nameChars, jint index) {
23 JPy_JType* implicitParamType;
24 JPy_JType* explicitParamType;
25 PyObject* pyReturnValue;