Skip to content
Snippets Groups Projects
Commit 1d329e90 authored by Dmitriy A. Gerasimov's avatar Dmitriy A. Gerasimov
Browse files

[+] Some updates

parent e405405d
No related branches found
No related tags found
1 merge request!26Support 3689
*.text
CMakeLists.txt.user*
*.autosave
\ No newline at end of file
......@@ -23,7 +23,7 @@ void dap_chain_node_cli_delete_py(void);
PyObject *DapChainNodeCliObject_new(PyTypeObject *type_object, PyObject *args, PyObject *kwds);
PyObject *dap_chain_node_cli_cmd_item_create_py(PyObject *self, PyObject *args);
PyObject *dap_chain_node_cli_cmd_item_create_py(PyObject *a_self, PyObject *a_args);
PyObject *dap_chain_node_cli_set_reply_text_py(PyObject *self, PyObject *args);
PyObject *dap_chain_node_addr_get_by_alias_py(PyObject *self, PyObject *args);
......
......@@ -31,10 +31,11 @@ PyObject *DapChainNodeCliObject_new(PyTypeObject *type_object, PyObject *args, P
return (PyObject *)obj;
}
PyObject *dap_chain_node_cli_cmd_item_create_py(PyObject *self, PyObject *args){
PyObject *dap_chain_node_cli_cmd_item_create_py(PyObject *a_self, PyObject *a_args){
(void) a_self;
const char *name, *doc, *doc_ex;
PyObject *obj_cmdfunc;
if (!PyArg_ParseTuple(args, "s|O:set_callback|s|s", &name, &obj_cmdfunc, &doc, &doc_ex)){
if (!PyArg_ParseTuple(a_args, "s|O:set_callback|s|s", &name, &obj_cmdfunc, &doc, &doc_ex)){
return NULL;
} else {
if (!PyCallable_Check(obj_cmdfunc)){
......
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