Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
python-cellframe
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cellframe
python-cellframe
Commits
61b45bcb
Commit
61b45bcb
authored
5 years ago
by
alexey.stratulat
Browse files
Options
Downloads
Patches
Plain Diff
[*] Removed unnecessary comments.
parent
b62dcce6
No related branches found
No related tags found
1 merge request
!1
Features 2466
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/python-cellframe.h
+0
-3
0 additions, 3 deletions
include/python-cellframe.h
src/python-cellframe.c
+1
-3
1 addition, 3 deletions
src/python-cellframe.c
with
1 addition
and
6 deletions
include/python-cellframe.h
+
0
−
3
View file @
61b45bcb
...
...
@@ -40,9 +40,6 @@ static PyMethodDef CellFramePythonMethods[] = {
{
"configGetItem"
,
(
PyCFunction
)
py_m_dap_config_get_item
,
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
}
};
...
...
This diff is collapsed.
Click to expand it.
src/python-cellframe.c
+
1
−
3
View file @
61b45bcb
...
...
@@ -30,7 +30,7 @@ static PyObject *python_cellframe_init(PyObject *self, PyObject *args){
PyObject
*
getDap
=
PyDict_GetItemString
(
result
,
"DAP"
);
if
(
getDap
==
NULL
)
return
NULL
;
//
/*Parse DAP*/
/*Parse DAP*/
PyObject
*
config_dir_PyObject
=
PyDict_GetItemString
(
getDap
,
"config_dir"
);
PyObject
*
application_name_PyObject
=
PyDict_GetItemString
(
getDap
,
"application_name"
);
PyObject
*
file_name_log_PyObject
=
PyDict_GetItemString
(
getDap
,
"file_name_log"
);
...
...
@@ -132,7 +132,6 @@ PyMODINIT_FUNC PyInit_CellFrame(void){
PyModule_AddObject
(
module
,
"CryptoDataType"
,
(
PyObject
*
)
&
CryptoDataTypeObjecy_CryptoDataTypeObjecyType
);
//PyModule_AddObject(module, "Dap", (PyObject*)&DapObject_DapObjectType);
return
module
;
}
...
...
@@ -141,7 +140,6 @@ static PyObject *python_cellframe_deinit(PyObject *self, PyObject *args){
dap_config_deinit
();
if
(
init_crypto
)
dap_crypto_deinit
();
//dap_common_deinit();
return
PyLong_FromLong
(
0
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment