Lines Matching refs:py_insn_type
27 PyTypeObject py_insn_type = {
61 if (py_insn_type.tp_new == nullptr)
63 py_insn_type.tp_new = PyType_GenericNew;
64 py_insn_type.tp_flags = Py_TPFLAGS_DEFAULT;
65 py_insn_type.tp_basicsize = sizeof (py_insn_obj);
66 py_insn_type.tp_name = "gdb.Instruction";
67 py_insn_type.tp_doc = "GDB instruction object";
68 py_insn_type.tp_getset = py_insn_getset;
70 if (PyType_Ready (&py_insn_type) < 0)
74 py_insn_type.tp_new = nullptr;
79 return &py_insn_type;