parent
c872e87bd4
commit
82150f5641
Notes:
blender-bot
2023-02-14 08:07:50 +01:00
Referenced by commit 397cec6a4d
, Cleanup: Pass 'FILE *' instead of 'void *' for BPY_python_backtrace
|
@ -55,7 +55,7 @@ void BPY_python_start(int argc, const char **argv);
|
|||
void BPY_python_end(void);
|
||||
void BPY_python_reset(struct bContext *C);
|
||||
void BPY_python_use_system_env(void);
|
||||
void BPY_python_backtrace(FILE *file);
|
||||
void BPY_python_backtrace(/* FILE */ void *file);
|
||||
|
||||
/* global interpreter lock */
|
||||
|
||||
|
|
|
@ -360,7 +360,7 @@ void PyC_StackSpit(void)
|
|||
}
|
||||
}
|
||||
|
||||
void PyC_StackPrint(FILE *fp)
|
||||
void PyC_StackPrint(/* FILE */ void *fp)
|
||||
{
|
||||
PyThreadState *tstate = PyGILState_GetThisThreadState();
|
||||
if (tstate != NULL && tstate->frame != NULL) {
|
||||
|
|
|
@ -28,7 +28,7 @@ void PyC_ObSpit(const char *name, PyObject *var);
|
|||
void PyC_ObSpitStr(char *result, size_t result_len, PyObject *var);
|
||||
void PyC_LineSpit(void);
|
||||
void PyC_StackSpit(void);
|
||||
void PyC_StackPrint(FILE *fp);
|
||||
void PyC_StackPrint(/* FILE */ void *fp);
|
||||
PyObject *PyC_ExceptionBuffer(void);
|
||||
PyObject *PyC_ExceptionBuffer_Simple(void);
|
||||
PyObject *PyC_Object_GetAttrStringArgs(PyObject *o, Py_ssize_t n, ...);
|
||||
|
|
|
@ -436,7 +436,7 @@ static void python_script_error_jump_text(struct Text *text)
|
|||
}
|
||||
}
|
||||
|
||||
void BPY_python_backtrace(FILE *fp)
|
||||
void BPY_python_backtrace(/* FILE */ void *fp)
|
||||
{
|
||||
fputs("\n# Python backtrace\n", fp);
|
||||
PyC_StackPrint(fp);
|
||||
|
|
Loading…
Reference in New Issue