Skip to content

Commit

Permalink
Merge pull request #1199 from Thrameos/win32_hook_crash
Browse files Browse the repository at this point in the history
Crash on windows exception during customizers
  • Loading branch information
marscher authored Aug 19, 2024
2 parents a8b33a6 + 2ef1168 commit d3cc970
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion native/python/include/pyjp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d3cc970

Please sign in to comment.