X7ROOT File Manager
Current Path:
/opt/hc_python/lib/python3.12/site-packages/greenlet
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
greenlet
/
??
..
??
CObjects.cpp
(3.43 KB)
??
PyGreenlet.cpp
(23.63 KB)
??
PyGreenlet.hpp
(1.43 KB)
??
PyGreenletUnswitchable.cpp
(4.27 KB)
??
PyModule.cpp
(8.39 KB)
??
TBrokenGreenlet.cpp
(1021 B)
??
TExceptionState.cpp
(1.33 KB)
??
TGreenlet.cpp
(25.13 KB)
??
TGreenlet.hpp
(27.85 KB)
??
TGreenletGlobals.cpp
(3.19 KB)
??
TMainGreenlet.cpp
(3.2 KB)
??
TPythonState.cpp
(15.6 KB)
??
TStackState.cpp
(7.21 KB)
??
TThreadState.hpp
(18.68 KB)
??
TThreadStateCreator.hpp
(2.55 KB)
??
TThreadStateDestroy.cpp
(7.98 KB)
??
TUserGreenlet.cpp
(23 KB)
??
__init__.py
(1.68 KB)
??
__pycache__
??
_greenlet.cpython-312-x86_64-linux-gnu.so
(1.38 MB)
??
greenlet.cpp
(10.74 KB)
??
greenlet.h
(4.64 KB)
??
greenlet_allocator.hpp
(2.55 KB)
??
greenlet_compiler_compat.hpp
(4.24 KB)
??
greenlet_cpython_compat.hpp
(4.05 KB)
??
greenlet_exceptions.hpp
(4.4 KB)
??
greenlet_internal.hpp
(2.65 KB)
??
greenlet_msvc_compat.hpp
(2.91 KB)
??
greenlet_refs.hpp
(33.63 KB)
??
greenlet_slp_switch.hpp
(3.12 KB)
??
greenlet_thread_support.hpp
(867 B)
??
platform
??
slp_platformselect.h
(3.87 KB)
??
tests
Editing: PyGreenlet.hpp
#ifndef PYGREENLET_HPP #define PYGREENLET_HPP #include "greenlet.h" #include "greenlet_compiler_compat.hpp" #include "greenlet_refs.hpp" using greenlet::refs::OwnedGreenlet; using greenlet::refs::BorrowedGreenlet; using greenlet::refs::BorrowedObject;; using greenlet::refs::OwnedObject; using greenlet::refs::PyErrPieces; // XXX: These doesn't really belong here, it's not a Python slot. static OwnedObject internal_green_throw(BorrowedGreenlet self, PyErrPieces& err_pieces); static PyGreenlet* green_new(PyTypeObject* type, PyObject* UNUSED(args), PyObject* UNUSED(kwds)); static int green_clear(PyGreenlet* self); static int green_init(PyGreenlet* self, PyObject* args, PyObject* kwargs); static int green_setparent(PyGreenlet* self, PyObject* nparent, void* UNUSED(context)); static int green_setrun(PyGreenlet* self, PyObject* nrun, void* UNUSED(context)); static int green_traverse(PyGreenlet* self, visitproc visit, void* arg); static void green_dealloc(PyGreenlet* self); static PyObject* green_getparent(PyGreenlet* self, void* UNUSED(context)); static int green_is_gc(PyObject* self); static PyObject* green_getdead(PyGreenlet* self, void* UNUSED(context)); static PyObject* green_getrun(PyGreenlet* self, void* UNUSED(context)); static int green_setcontext(PyGreenlet* self, PyObject* nctx, void* UNUSED(context)); static PyObject* green_getframe(PyGreenlet* self, void* UNUSED(context)); static PyObject* green_repr(PyGreenlet* self); #endif
Upload File
Create Folder