MCPcopy Create free account
hub / github.com/Nic30/hdlConvertor / toPy

Method toPy

hdlConvertor/toPy.cpp:89–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89PyObject* ToPy::toPy(const HdlContext *o) {
90 PyObject *py_inst = PyObject_CallObject(ContextCls, NULL);
91 if (!py_inst)
92 return nullptr;
93 if (toPy_arr(py_inst, "objs", o->objs)) {
94 return nullptr;
95 }
96 return py_inst;
97}
98
99PyObject* ToPy::toPy(const HdlLibrary *o) {
100 Py_INCREF(Py_None);

Callers

nothing calls this directly

Calls 2

HdlDirection_toStringFunction · 0.85
whatMethod · 0.80

Tested by

no test coverage detected