Support ComfyUI Portable Windows Build

This commit is contained in:
MrForExample
2024-02-25 21:05:35 +01:00
parent 6bf0acd00b
commit 9603cbd726
205 changed files with 25566 additions and 31 deletions
@@ -0,0 +1,16 @@
#ifndef Py_CPYTHON_TRACEBACK_H
# error "this header file must not be included directly"
#endif
typedef struct _traceback PyTracebackObject;
struct _traceback {
PyObject_HEAD
PyTracebackObject *tb_next;
PyFrameObject *tb_frame;
int tb_lasti;
int tb_lineno;
};
PyAPI_FUNC(int) _Py_DisplaySourceLine(PyObject *, PyObject *, int, int, int *, PyObject **);
PyAPI_FUNC(void) _PyTraceback_Add(const char *, const char *, int);