From 2ef11689f233d366b86d6df7c0393fe42937525f Mon Sep 17 00:00:00 2001 From: Karl Nelson Date: Thu, 27 Jun 2024 14:50:11 -0700 Subject: [PATCH] Fixes #1198 --- native/python/include/pyjp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/native/python/include/pyjp.h b/native/python/include/pyjp.h index c9645843d..df6983af3 100755 --- a/native/python/include/pyjp.h +++ b/native/python/include/pyjp.h @@ -178,13 +178,14 @@ JPValue *PyJPValue_getJavaSlot(PyObject* obj); PyObject *PyJPModule_getClass(PyObject* module, PyObject *obj); PyObject *PyJPValue_getattro(PyObject *obj, PyObject *name); int PyJPValue_setattro(PyObject *self, PyObject *name, PyObject *value); -void PyJPClass_hook(JPJavaFrame &frame, JPClass* cls); PyObject *PyJPChar_Create(PyTypeObject *type, Py_UCS2 p); #ifdef __cplusplus } #endif +void PyJPClass_hook(JPJavaFrame &frame, JPClass* cls); + // C++ methods JPPyObject PyJPArray_create(JPJavaFrame &frame, PyTypeObject* wrapper, const JPValue& value); JPPyObject PyJPBuffer_create(JPJavaFrame &frame, PyTypeObject *type, const JPValue & value);