Server IP : 162.0.209.157 / Your IP : 3.145.153.251 [ Web Server : LiteSpeed System : Linux premium178.web-hosting.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64 User : balaoqob ( 2395) PHP Version : 8.0.30 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/hc_python/lib64/python3.8/site-packages/greenlet/ |
Upload File : |
#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