PHP 8.3.31
Preview: PyGreenlet.hpp Size: 1.43 KB
//proc/thread-self/root/opt/hc_python/lib/python3.12/site-packages/greenlet/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

Directory Contents

Dirs: 3 × Files: 31

Name Size Perms Modified Actions
platform DIR
- drwxr-xr-x 2026-06-11 06:30:31
Edit Download
tests DIR
- drwxr-xr-x 2026-06-11 06:30:31
Edit Download
- drwxr-xr-x 2026-06-11 06:30:31
Edit Download
3.57 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
10.83 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
4.64 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
1.79 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
4.24 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
3.25 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
4.40 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
2.70 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
3.12 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
37.17 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
3.22 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
867 B lrw-r--r-- 2026-06-11 06:30:31
Edit Download
27.52 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
1.43 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
4.06 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
8.59 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
3.87 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
1021 B lrw-r--r-- 2026-06-11 06:30:31
Edit Download
1.33 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
25.62 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
28.58 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
3.84 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
3.51 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
19.15 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
7.21 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
23.34 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
2.70 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
7.99 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
23.76 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download
1.32 MB lrwxr-xr-x 2026-06-11 06:30:31
Edit Download
1.41 KB lrw-r--r-- 2026-06-11 06:30:31
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).