| 87 | } |
| 88 | |
| 89 | PyObject* 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 | |
| 99 | PyObject* ToPy::toPy(const HdlLibrary *o) { |
| 100 | Py_INCREF(Py_None); |
nothing calls this directly
no test coverage detected