From fe6f8fbac7a6457b4b4ffc680ae54d9921e0b007 Mon Sep 17 00:00:00 2001 From: "alexey.stratulat" <alexey.stratulat@demlabs.net> Date: Wed, 13 Nov 2019 15:53:00 +0700 Subject: [PATCH] [*] Changed information about the name of objects. Now highlighted 'Chain' namespace. --- include/libdap_chain_atom_iter_python.h | 2 +- include/libdap_chain_type_python.h | 2 +- include/wrapping_dap_chain_cell.h | 2 +- include/wrapping_dap_chain_common.h | 2 +- include/wrapping_dap_chain_common_objects.h | 22 ++++++++++----------- include/wrapping_dap_chain_cs.h | 2 +- include/wrapping_dap_chain_datum.h | 6 +++--- include/wrapping_dap_chain_datum_token.h | 4 ++-- include/wrapping_dap_chain_datum_tx.h | 8 ++++---- include/wrapping_dap_chain_ledger.h | 2 +- 10 files changed, 26 insertions(+), 26 deletions(-) diff --git a/include/libdap_chain_atom_iter_python.h b/include/libdap_chain_atom_iter_python.h index 8d5a29f9..0f09dd34 100644 --- a/include/libdap_chain_atom_iter_python.h +++ b/include/libdap_chain_atom_iter_python.h @@ -16,7 +16,7 @@ static PyMethodDef DapChainAtomIterMethods[] = { static PyTypeObject dapChainAtomPtr_dapChainAtomPtrType = { PyVarObject_HEAD_INIT(NULL, 0) - "CellFrame.ChainAtomIter", /* tp_name */ + "CellFrame.Chain.AtomIter", /* tp_name */ sizeof(PyChainAtomIterObject), /* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ diff --git a/include/libdap_chain_type_python.h b/include/libdap_chain_type_python.h index 9693dc8f..029b9f91 100644 --- a/include/libdap_chain_type_python.h +++ b/include/libdap_chain_type_python.h @@ -22,7 +22,7 @@ static PyMethodDef DapChainTypeMethods[] = { static PyTypeObject dapChainTypeObject_dapChainTypeType = { PyVarObject_HEAD_INIT(NULL, 0) - "CellFrame.ChainType", /* tp_name */ + "CellFrame.Chain.Type", /* tp_name */ sizeof(PyChainTypeObject), /* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ diff --git a/include/wrapping_dap_chain_cell.h b/include/wrapping_dap_chain_cell.h index 8584e31b..f25d8297 100644 --- a/include/wrapping_dap_chain_cell.h +++ b/include/wrapping_dap_chain_cell.h @@ -32,7 +32,7 @@ static PyMethodDef PyDapChainCellObjectMethods[] ={ static PyTypeObject DapChainCell_DapChainCellObjectType = { PyVarObject_HEAD_INIT(NULL, 0) - "CellFrame.DapChainCell", /* tp_name */ + "CellFrame.Chain.Cell", /* tp_name */ sizeof(PyDapChainCellObject), /* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ diff --git a/include/wrapping_dap_chain_common.h b/include/wrapping_dap_chain_common.h index 968c6d48..1783327d 100644 --- a/include/wrapping_dap_chain_common.h +++ b/include/wrapping_dap_chain_common.h @@ -30,7 +30,7 @@ static PyMethodDef PyDapChainCommonObjectMethods[] ={ static PyTypeObject ChainCommonObject_ChainCommonType = { PyVarObject_HEAD_INIT(NULL, 0) - "CellFrame.ChainCommon", /* tp_name */ + "CellFrame.Chain.Common", /* tp_name */ sizeof(PyDapChainCommonObject), /* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ diff --git a/include/wrapping_dap_chain_common_objects.h b/include/wrapping_dap_chain_common_objects.h index 30630b5b..d54516bd 100644 --- a/include/wrapping_dap_chain_common_objects.h +++ b/include/wrapping_dap_chain_common_objects.h @@ -16,7 +16,7 @@ typedef struct PyDapChainId{ static PyTypeObject DapChainIdObject_DapChainIdObjectType = { PyVarObject_HEAD_INIT(NULL, 0) - "CellFrame.ChainID", /* tp_name */ + "CellFrame.Chain.ID", /* tp_name */ sizeof(PyDapChainIdObject), /* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ @@ -67,7 +67,7 @@ typedef struct PyDapChainCellId{ static PyTypeObject DapChainCellIdObject_DapChainCellIdObjectType = { PyVarObject_HEAD_INIT(NULL, 0) - "CellFrame.ChainCellID", /* tp_name */ + "CellFrame.Chain.CellID", /* tp_name */ sizeof(PyDapChainCellIdObject), /* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ @@ -118,7 +118,7 @@ typedef struct PyDapChainNodeAddr{ static PyTypeObject DapChainNodeAddrObject_DapChainNodeAddrObjectType = { PyVarObject_HEAD_INIT(NULL, 0) - "CellFrame.ChainNodeAddr", /* tp_name */ + "CellFrame.Chain.NodeAddr", /* tp_name */ sizeof(PyDapChainNodeAddrObject), /* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ @@ -174,7 +174,7 @@ typedef struct PyDapChainNetId{ static PyTypeObject DapChainNetIdObject_DapChainNetIdObjectType = { PyVarObject_HEAD_INIT(NULL, 0) - "CellFrame.ChainNetID", /* tp_name */ + "CellFrame.Chain.NetID", /* tp_name */ sizeof(PyDapChainNetIdObject), /* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ @@ -224,7 +224,7 @@ typedef struct PyDapChainHashSlow{ static PyTypeObject DapChainHashSlowObject_DapChainHashSlowObjectType = { PyVarObject_HEAD_INIT(NULL, 0) - "CellFrame.ChainHashSlow", /* tp_name */ + "CellFrame.Chain.HashSlow", /* tp_name */ sizeof(PyDapChainHashSlowObject),/* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ @@ -275,7 +275,7 @@ typedef struct PyDapChainHashFast{ static PyTypeObject DapChainHashFastObject_DapChainHashFastObjectType = { PyVarObject_HEAD_INIT(NULL, 0) - "CellFrame.ChainHashFast", /* tp_name */ + "CellFrame.Chain.HashFast", /* tp_name */ sizeof(PyDapChainHashFastObject),/* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ @@ -324,7 +324,7 @@ typedef struct PyDapChainHashSlowKind{ static PyTypeObject DapChainHashSlowKindObject_DapChainHashSlowKindObjectType = { PyVarObject_HEAD_INIT(NULL, 0) - "CellFrame.ChainHashSlowKind", /* tp_name */ + "CellFrame.Chain.HashSlowKind", /* tp_name */ sizeof(PyDapChainHashSlowKindObject),/* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ @@ -373,7 +373,7 @@ typedef struct PyDapChainPkeyType{ static PyTypeObject DapChainPkeyTypeObject_DapChainPkeyTypeObjectType = { PyVarObject_HEAD_INIT(NULL, 0) - "CellFrame.ChainPkeyType", /* tp_name */ + "CellFrame.Chain.PkeyType", /* tp_name */ sizeof(PyDapChainPkeyTypeObject),/* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ @@ -422,7 +422,7 @@ typedef struct PyDapChainPkey{ static PyTypeObject DapChainPkeyObject_DapChainPkeyObjectType = { PyVarObject_HEAD_INIT(NULL, 0) - "CellFrame.ChainPkey", /* tp_name */ + "CellFrame.Chain.Pkey", /* tp_name */ sizeof(PyDapChainPkeyObject),/* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ @@ -471,7 +471,7 @@ typedef struct PyDapChainSignType{ static PyTypeObject DapChainSignTypeObject_DapChainSignTypeObjectType = { PyVarObject_HEAD_INIT(NULL, 0) - "CellFrame.ChainSignType", /* tp_name */ + "CellFrame.Chain.SignType", /* tp_name */ sizeof(PyDapChainSignTypeObject),/* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ @@ -521,7 +521,7 @@ typedef struct PyDapChainAddr{ static PyTypeObject DapChainAddrObject_DapChainAddrObjectType = { PyVarObject_HEAD_INIT(NULL, 0) - "CellFrame.ChainAddr", /* tp_name */ + "CellFrame.Chain.Addr", /* tp_name */ sizeof(PyDapChainAddrObject),/* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ diff --git a/include/wrapping_dap_chain_cs.h b/include/wrapping_dap_chain_cs.h index 31e4d1e1..2ddf02f3 100644 --- a/include/wrapping_dap_chain_cs.h +++ b/include/wrapping_dap_chain_cs.h @@ -37,7 +37,7 @@ static PyMethodDef DapChainCSMethods[] = { static PyTypeObject DapChainCsObject_DapChainCsObjectType = { PyVarObject_HEAD_INIT(NULL, 0) - "CellFrame.ChainCS", /* tp_name */ + "CellFrame.Chain.CS", /* tp_name */ sizeof(PyDapChainCsObject), /* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ diff --git a/include/wrapping_dap_chain_datum.h b/include/wrapping_dap_chain_datum.h index fd25630d..784bd697 100644 --- a/include/wrapping_dap_chain_datum.h +++ b/include/wrapping_dap_chain_datum.h @@ -15,7 +15,7 @@ typedef struct PyDapChainDatumTypeId{ static PyTypeObject DapChainDatumTypeIdObject_DapChainDatumTypeIdObjectType = { PyVarObject_HEAD_INIT(NULL, 0) - "CellFrame.ChainDatumTypeId", /* tp_name */ + "CellFrame.Chain.DatumTypeId", /* tp_name */ sizeof(PyDapChainDatumTypeIdObject), /* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ @@ -66,7 +66,7 @@ PyObject *DapChainDatumObject_new(PyTypeObject *type_object, PyObject *args, PyO static PyTypeObject DapChainDatumObject_DapChainDatumObjectType = { PyVarObject_HEAD_INIT(NULL, 0) - "CellFrame.ChainDatum", /* tp_name */ + "CellFrame.Chain.Datum", /* tp_name */ sizeof(PyDapChainDatumObject), /* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ @@ -115,7 +115,7 @@ typedef struct PyDapChainDatumIter{ static PyTypeObject DapChainDatumIterObject_DapChainDatumIterObjectType = { PyVarObject_HEAD_INIT(NULL, 0) - "CellFrame.ChainDatumIter", /* tp_name */ + "CellFrame.Chain.DatumIter", /* tp_name */ sizeof(PyDapChainDatumIterObject), /* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ diff --git a/include/wrapping_dap_chain_datum_token.h b/include/wrapping_dap_chain_datum_token.h index afb306ce..82f66774 100644 --- a/include/wrapping_dap_chain_datum_token.h +++ b/include/wrapping_dap_chain_datum_token.h @@ -10,7 +10,7 @@ typedef struct PyDapChainDatumToken{ static PyTypeObject DapChainDatumToken_DapChainDatumTokenObjectType = { PyVarObject_HEAD_INIT(NULL, 0) - "CellFrame.ChainDatumTokenObject", /* tp_name */ + "CellFrame.Chain.DatumTokenObject", /* tp_name */ sizeof(PyDapChainDatumTokenObject), /* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ @@ -61,7 +61,7 @@ typedef struct PyDapChainDatumTokenEmission{ static PyTypeObject DapChainDatumTokenEmission_DapChainDatumTokenEmissionObjectType = { PyVarObject_HEAD_INIT(NULL, 0) - "CellFrame.ChainDatumTokenEmission", /* tp_name */ + "CellFrame.Chain.DatumTokenEmission", /* tp_name */ sizeof(PyDapChainDatumTokenEmissionObject), /* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ diff --git a/include/wrapping_dap_chain_datum_tx.h b/include/wrapping_dap_chain_datum_tx.h index fae87f1b..1b2564ec 100644 --- a/include/wrapping_dap_chain_datum_tx.h +++ b/include/wrapping_dap_chain_datum_tx.h @@ -40,7 +40,7 @@ static PyMethodDef PyDapChainTxItemTypeObjectMethods[] ={ static PyTypeObject DapChainTxItemObject_DapChainTxItemTypeObjectType = { PyVarObject_HEAD_INIT(NULL, 0) - "CellFrame.ChainTxItemType", /* tp_name */ + "CellFrame.Chain.TxItemType", /* tp_name */ sizeof(PyDapChainTxItemTypeObject), /* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ @@ -90,7 +90,7 @@ typedef struct PyDapChainTxCondType{ static PyTypeObject DapChainTxType_DapChainTxCondTypeObject = { PyVarObject_HEAD_INIT(NULL, 0) - "CellFrame.ChainTxCondType", /* tp_name */ + "CellFrame.Chain.TxCondType", /* tp_name */ sizeof(PyDapChainTxCondTypeObject),/* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ @@ -165,7 +165,7 @@ static PyMethodDef PyDapChainDatumTxObjectMethods[] ={ static PyTypeObject DapChainDatumTx_DapChainDatumTxObjectType = { PyVarObject_HEAD_INIT(NULL, 0) - "CellFrame.ChainDatumTx", /* tp_name */ + "CellFrame.Chain.DatumTx", /* tp_name */ sizeof(PyDapChainDatumTxObject), /* tp_basicsize */ 0, /* tp_itemsize */ (destructor)PyDapChainDatumTxObject_delete, /* tp_dealloc */ @@ -214,7 +214,7 @@ typedef struct PyDapChainTxOutCond{ static PyTypeObject DapChainTxOutCond_DapChainTxOutCondObjectType = { PyVarObject_HEAD_INIT(NULL, 0) - "CellFrame.ChainTxOutCond", /* tp_name */ + "CellFrame.Chain.TxOutCond", /* tp_name */ sizeof(PyDapChainTxOutCondObject), /* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ diff --git a/include/wrapping_dap_chain_ledger.h b/include/wrapping_dap_chain_ledger.h index 616fbc79..f020aea9 100644 --- a/include/wrapping_dap_chain_ledger.h +++ b/include/wrapping_dap_chain_ledger.h @@ -74,7 +74,7 @@ static PyMethodDef DapChainLedgerMethods[] = { PyTypeObject DapChainLedger_DapChainLedgerType = { PyVarObject_HEAD_INIT(NULL, 0) - "CellFrame.ChainLedger", /* tp_name */ + "CellFrame.Chain.Ledger", /* tp_name */ sizeof(PyDapChainLedgerObject), /* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ -- GitLab