Skip to content
Snippets Groups Projects
Commit 312e35bb authored by alexey.stratulat's avatar alexey.stratulat
Browse files

[*] Renamed the fill function to fillFromKey this is more consistent with the...

[*] Renamed the fill function to fillFromKey this is more consistent with the function that is called inside this wrapper.
parent eae2fce1
No related branches found
No related tags found
1 merge request!73Features-5386 to develop
......@@ -101,7 +101,7 @@ typedef struct PyDapChainAddr{
PyObject *dap_chain_addr_to_str_py(PyObject *self, PyObject *args);
PyObject *dap_chain_addr_from_str_py(PyObject *self, PyObject *args);
PyObject *dap_chain_addr_fill_py(PyObject *self, PyObject *args);
PyObject *dap_chain_addr_fill_from_key_py(PyObject *self, PyObject *args);
PyObject *dap_chain_addr_check_sum_py(PyObject *self, PyObject *args);
PyObject *dap_chain_addr_get_net_id_py(PyObject *self, PyObject *args);
......@@ -111,7 +111,7 @@ PyObject *obj_addr_str(PyObject *self);
static PyMethodDef DapChainAddrMethods[] = {
{"toStr", (PyCFunction)dap_chain_addr_to_str_py, METH_VARARGS, ""},
{"fromStr", (PyCFunction)dap_chain_addr_from_str_py, METH_VARARGS | METH_STATIC, ""},
{"fill", (PyCFunction)dap_chain_addr_fill_py, METH_VARARGS, ""},
{"fillFromKey", (PyCFunction)dap_chain_addr_fill_from_key_py, METH_VARARGS, ""},
{"checkSum", (PyCFunction)dap_chain_addr_check_sum_py, METH_VARARGS, ""},
{"getNetId", (PyCFunction)dap_chain_addr_get_net_id_py, METH_NOARGS, ""},
{NULL, NULL, 0, NULL}
......
......@@ -38,7 +38,7 @@ PyObject *dap_chain_addr_from_str_py(PyObject *self, PyObject *args){
return Py_BuildValue("O", obj);
}
PyObject *dap_chain_addr_fill_py(PyObject *self, PyObject *args){
PyObject *dap_chain_addr_fill_from_key_py(PyObject *self, PyObject *args){
PyObject *key;
PyObject *net_id;
if (!PyArg_ParseTuple(args, "O|O", &key, &net_id))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment