From 1d329e90a51ab0272c1466dc00954f391010486d Mon Sep 17 00:00:00 2001
From: "Dmitriy A. Gerasimov" <dmitriy.gerasimov@demlabs.net>
Date: Tue, 18 Feb 2020 17:21:05 +0700
Subject: [PATCH] [+] Some updates

---
 .gitignore                                | 3 +++
 include/wrapping_dap_chain_net_node_cli.h | 2 +-
 src/wrapping_dap_chain_net_node_cli.c     | 5 +++--
 3 files changed, 7 insertions(+), 3 deletions(-)
 create mode 100644 .gitignore

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000..aee8394a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+*.text
+CMakeLists.txt.user*
+*.autosave
\ No newline at end of file
diff --git a/include/wrapping_dap_chain_net_node_cli.h b/include/wrapping_dap_chain_net_node_cli.h
index 88bffd98..9dd1d53f 100644
--- a/include/wrapping_dap_chain_net_node_cli.h
+++ b/include/wrapping_dap_chain_net_node_cli.h
@@ -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);
diff --git a/src/wrapping_dap_chain_net_node_cli.c b/src/wrapping_dap_chain_net_node_cli.c
index ab3d31f5..80e0c61b 100644
--- a/src/wrapping_dap_chain_net_node_cli.c
+++ b/src/wrapping_dap_chain_net_node_cli.c
@@ -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)){
-- 
GitLab