@@ -141,13 +141,13 @@ PYBIND11_MODULE(pycgraph, cg) {
141141
142142 py::class_<GAspect, PywGAspect, std::unique_ptr<GAspect, py::nodelete> >(cg, " GAspect" )
143143 .def (py::init<>())
144- .def (" getName" , &GAspect::__getName_4py )
144+ .def (" getName" , &GAspect::__getName_4expose )
145145 .PYCGRAPH_DEF_GPARAM_PYBIND11_FUNCTIONS (GAspect)
146146 .PYCGRAPH_DEF_GEVENT_PYBIND11_FUNCTIONS (GAspect);
147147
148148 py::class_<GDaemon, PywGDaemon, std::unique_ptr<GDaemon, py::nodelete> >(cg, " GDaemon" )
149149 .def (py::init<>())
150- .def (" getInterval" , &GDaemon::__getInterval_4py )
150+ .def (" getInterval" , &GDaemon::__getInterval_4expose )
151151 .PYCGRAPH_DEF_GPARAM_PYBIND11_FUNCTIONS (GDaemon)
152152 .PYCGRAPH_DEF_GEVENT_PYBIND11_FUNCTIONS (GDaemon);
153153
@@ -212,15 +212,15 @@ PYBIND11_MODULE(pycgraph, cg) {
212212 py::arg (" runTimes" ) = 1 ,
213213 py::call_guard<py::gil_scoped_release>())
214214 .def (" destroy" , &GPipeline::destroy)
215- .def (" addGEvent" , &GPipeline::__addGEvent_4py ,
215+ .def (" addGEvent" , &GPipeline::__addGEvent_4expose ,
216216 py::arg (" event" ),
217217 py::arg (" key" ),
218218 py::keep_alive<1 , 2 >())
219- .def (" addGDaemon" , &GPipeline::__addGDaemon_4py ,
219+ .def (" addGDaemon" , &GPipeline::__addGDaemon_4expose ,
220220 py::arg (" daemon" ),
221221 py::arg (" ms" ),
222222 py::keep_alive<1 , 2 >())
223- .def (" addGStage" , &GPipeline::__addGStage_4py ,
223+ .def (" addGStage" , &GPipeline::__addGStage_4expose ,
224224 py::arg (" stage" ),
225225 py::arg (" key" ),
226226 py::arg (" threshold" ),
@@ -238,17 +238,17 @@ PYBIND11_MODULE(pycgraph, cg) {
238238 py::call_guard<py::gil_scoped_release>())
239239 .def (" resume" , &GPipeline::resume,
240240 py::call_guard<py::gil_scoped_release>())
241- .def (" perf" , &GPipeline::__perf_4py ,
241+ .def (" perf" , &GPipeline::__perf_4expose ,
242242 py::call_guard<py::gil_scoped_release>())
243- .def (" dump" , &GPipeline::__dump_4py )
243+ .def (" dump" , &GPipeline::__dump_4expose )
244244 .def (" trim" , &GPipeline::trim)
245245 .def (" makeSerial" , &GPipeline::makeSerial)
246246 .def (" getMaxPara" , &GPipeline::getMaxPara)
247247 .def (" getCurState" , &GPipeline::getCurState)
248248 .def (" checkSeparate" , &GPipeline::checkSeparate,
249249 py::arg (" fst" ),
250250 py::arg (" snd" ))
251- .def (" registerGElement" , &GPipeline::__registerGElement_4py ,
251+ .def (" registerGElement" , &GPipeline::__registerGElement_4expose ,
252252 py::arg (" element" ),
253253 py::arg (" depends" ) = GElementPtrSet{},
254254 py::arg (" name" ) = CGRAPH_EMPTY ,
@@ -278,10 +278,10 @@ PYBIND11_MODULE(pycgraph, cg) {
278278
279279 py::class_<GElement, PywGElement, std::unique_ptr<GElement, py::nodelete> >(cg, " GElement" )
280280 .def (py::init<>())
281- .def (" __str__" , &GElement::__str_4py )
281+ .def (" __str__" , &GElement::__str_4expose )
282282 .PYCGRAPH_DEF_GPARAM_PYBIND11_FUNCTIONS (GElement)
283283 .PYCGRAPH_DEF_GEVENT_PYBIND11_FUNCTIONS (GElement)
284- .def (" enterStage" , &GElement::__enterStage_4py ,
284+ .def (" enterStage" , &GElement::__enterStage_4expose ,
285285 py::arg (" key" ),
286286 py::call_guard<py::gil_scoped_release>())
287287 .def (" getName" , &GElement::getName)
@@ -302,11 +302,11 @@ PYBIND11_MODULE(pycgraph, cg) {
302302 .def (" setTimeout" , &GElement::setTimeout,
303303 py::arg (" timeout" ),
304304 py::arg (" strategy" ) = GElementTimeoutStrategy::AS_ERROR )
305- .def (" isTimeout" , &GElement::__isTimeout_4py )
305+ .def (" isTimeout" , &GElement::__isTimeout_4expose )
306306 .def (" isGGroup" , &GElement::isGGroup)
307307 .def (" isGAdaptor" , &GElement::isGAdaptor)
308308 .def (" isGNode" , &GElement::isGNode)
309- .def (" addGAspect" , &GElement::__addGAspect_4py ,
309+ .def (" addGAspect" , &GElement::__addGAspect_4expose ,
310310 py::arg (" aspect" ),
311311 py::keep_alive<1 , 2 >())
312312 .def (" addDependGElements" , &GElement::addDependGElements,
0 commit comments