GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [python] add getSesssion for python · feiyunwill/CGraph@68919a7

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • python
    • PyCGraph.cpp
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎python/PyCGraph.cpp‎

Copy file name to clipboardExpand all lines: python/PyCGraph.cpp
+4-3Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,10 @@ PYBIND11_MODULE(PyCGraph, cg) {
263263
py::arg("key"),
264264
py::call_guard<py::gil_scoped_release>())
265265
.def("getName", &GElement::getName)
266+
.def("getSession", &GElement::getSession)
267+
.def("getRelation", &GElement::getRelation)
268+
.def("getLoop", &GElement::getLoop)
269+
.def("getCurState", &GElement::getCurState)
266270
.def("setLoop", &GElement::setLoop,
267271
py::arg("loop"))
268272
.def("setName", &GElement::setName,
@@ -280,9 +284,6 @@ PYBIND11_MODULE(PyCGraph, cg) {
280284
.def("isGGroup", &GElement::isGGroup)
281285
.def("isGAdaptor", &GElement::isGAdaptor)
282286
.def("isGNode", &GElement::isGNode)
283-
.def("getRelation", &GElement::getRelation)
284-
.def("getLoop", &GElement::getLoop)
285-
.def("getCurState", &GElement::getCurState)
286287
.def("addGAspect", &GElement::__addGAspect_4py,
287288
py::arg("aspect"),
288289
py::keep_alive<1, 2>())

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.