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

[-] Removed the previous changes in this file, as they were not relevant,...

[-] Removed the previous changes in this file, as they were not relevant, since the cellframe-sdk was updated.
parent e3f5cb5d
No related branches found
No related tags found
3 merge requests!64features-5056 to develop,!61bugs-5311,!57[*] Fixed a problem with assembling a python-cellframe separately from a cellframe node.
......@@ -99,8 +99,7 @@ void element_py_func_del_all(){
}
}
static int wrapping_cmdfunc(int argc, char **argv, void *arg_func, char **str_reply){
(void)arg_func;
static int wrapping_cmdfunc(int argc, char **argv, char **str_reply){
size_t id_str_replay = elements_str_reply_add(str_reply);
PyObject *obj_argv = stringToPyList(argc, argv);
PyObject *obj_id_str_replay = PyLong_FromSize_t(id_str_replay);
......@@ -137,7 +136,7 @@ PyObject *dap_chain_node_cli_cmd_item_create_py(PyObject *a_self, PyObject *a_ar
}
}
element_py_func_add(name, obj_cmdfunc);
dap_chain_node_cli_cmd_item_create(name, wrapping_cmdfunc, NULL, doc, doc_ex);
dap_chain_node_cli_cmd_item_create(name, wrapping_cmdfunc, doc, doc_ex);
return PyLong_FromLong(0);
}
......
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