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

[*] Removed unnecessary comments.

parent b62dcce6
No related branches found
No related tags found
1 merge request!1Features 2466
...@@ -40,9 +40,6 @@ static PyMethodDef CellFramePythonMethods[] = { ...@@ -40,9 +40,6 @@ static PyMethodDef CellFramePythonMethods[] = {
{"configGetItem", (PyCFunction)py_m_dap_config_get_item, METH_VARARGS, ""}, {"configGetItem", (PyCFunction)py_m_dap_config_get_item, METH_VARARGS, ""},
{"configGetItemDefault", (PyCFunction)py_m_dap_config_get_item_default, METH_VARARGS, ""}, {"configGetItemDefault", (PyCFunction)py_m_dap_config_get_item_default, METH_VARARGS, ""},
//{"deinit", dap_server_core_deinit, METH_NOARGS, "Deinitialization of the DAP (Deus Applicaions Prototypes) server core library"},
//{"loop", dap_server_core_loop, METH_VARARGS, ""},
//{"listen", dap_server_core_listen, METH_VARARGS, ""},
{NULL, NULL, 0, NULL} {NULL, NULL, 0, NULL}
}; };
......
...@@ -30,7 +30,7 @@ static PyObject *python_cellframe_init(PyObject *self, PyObject *args){ ...@@ -30,7 +30,7 @@ static PyObject *python_cellframe_init(PyObject *self, PyObject *args){
PyObject* getDap = PyDict_GetItemString(result, "DAP"); PyObject* getDap = PyDict_GetItemString(result, "DAP");
if (getDap == NULL) if (getDap == NULL)
return NULL; return NULL;
// /*Parse DAP*/ /*Parse DAP*/
PyObject* config_dir_PyObject = PyDict_GetItemString(getDap, "config_dir"); PyObject* config_dir_PyObject = PyDict_GetItemString(getDap, "config_dir");
PyObject* application_name_PyObject = PyDict_GetItemString(getDap, "application_name"); PyObject* application_name_PyObject = PyDict_GetItemString(getDap, "application_name");
PyObject* file_name_log_PyObject = PyDict_GetItemString(getDap, "file_name_log"); PyObject* file_name_log_PyObject = PyDict_GetItemString(getDap, "file_name_log");
...@@ -132,7 +132,6 @@ PyMODINIT_FUNC PyInit_CellFrame(void){ ...@@ -132,7 +132,6 @@ PyMODINIT_FUNC PyInit_CellFrame(void){
PyModule_AddObject(module, "CryptoDataType", (PyObject*)&CryptoDataTypeObjecy_CryptoDataTypeObjecyType); PyModule_AddObject(module, "CryptoDataType", (PyObject*)&CryptoDataTypeObjecy_CryptoDataTypeObjecyType);
//PyModule_AddObject(module, "Dap", (PyObject*)&DapObject_DapObjectType);
return module; return module;
} }
...@@ -141,7 +140,6 @@ static PyObject *python_cellframe_deinit(PyObject *self, PyObject *args){ ...@@ -141,7 +140,6 @@ static PyObject *python_cellframe_deinit(PyObject *self, PyObject *args){
dap_config_deinit(); dap_config_deinit();
if (init_crypto) if (init_crypto)
dap_crypto_deinit(); dap_crypto_deinit();
//dap_common_deinit();
return PyLong_FromLong(0); 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