From 300df843f2189cca54177ef8586c778a94875bd8 Mon Sep 17 00:00:00 2001
From: "alexey.stratulat" <alexey.stratulat@demlabs.net>
Date: Wed, 11 Dec 2019 22:55:59 +0700
Subject: [PATCH] [*] Fix. Rename the name of the object from Cellframe.Chain
 to Cellframe.ChainGDB. And corrections have been made to the
 DapChainGDBObject_DapChainGDBType structure. And also removed the
 dap_chain_gdb_t field  from the PyDapChainGDBObject structure since it is not
 used.

---
 include/wrapping_dap_chain_gdb.h | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/include/wrapping_dap_chain_gdb.h b/include/wrapping_dap_chain_gdb.h
index f93e2b6c..6efb8fdb 100644
--- a/include/wrapping_dap_chain_gdb.h
+++ b/include/wrapping_dap_chain_gdb.h
@@ -10,8 +10,6 @@ extern "C" {
 
 typedef struct PyDapChainGDB{
     PyObject_HEAD
-    dap_chain_gdb_t *gdb;
-
 }PyDapChainGDBObject;
 
 int dap_chain_gdb_init_py(void);
@@ -30,8 +28,8 @@ PyMethodDef DapChainGDBMethod[] = {
 
 static PyTypeObject DapChainGDBObject_DapChainGDBType = {
     PyVarObject_HEAD_INIT(NULL, 0)
-    "CellFrame.Chain",                                            /* tp_name */
-    sizeof(PyDapChainObject),                                     /* tp_basicsize */
+    "CellFrame.ChainGDB",                                            /* tp_name */
+    sizeof(PyDapChainGDBObject),                                     /* tp_basicsize */
     0,                                                            /* tp_itemsize */
     0,                                                            /* tp_dealloc */
     0,                                                            /* tp_print */
-- 
GitLab