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
ab077a90
Commit
ab077a90
authored
5 years ago
by
alexey.stratulat
Browse files
Options
Downloads
Patches
Plain Diff
[+] Added the ability to work with functions of a static class ChainGDB.
parent
a5a0632d
No related branches found
No related tags found
1 merge request
!8
Features 2566
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/python-cellframe.h
+1
-0
1 addition, 0 deletions
include/python-cellframe.h
src/python-cellframe.c
+5
-1
5 additions, 1 deletion
src/python-cellframe.c
with
6 additions
and
1 deletion
include/python-cellframe.h
+
1
−
0
View file @
ab077a90
...
...
@@ -53,6 +53,7 @@
#include
"dap_file_utils.h"
#include
"dap_string.h"
#include
"generator_config_file.h"
#include
"wrapping_dap_chain_gdb.h"
#include
"dap_common.h"
...
...
This diff is collapsed.
Click to expand it.
src/python-cellframe.c
+
5
−
1
View file @
ab077a90
...
...
@@ -271,7 +271,7 @@ static PyObject *python_cellframe_init(PyObject *self, PyObject *args){
}
}
if
(
strcmp
(
c_value
,
"GDB"
)
==
0
){
if
(
dap_chain_gdb_init
()
!=
0
){
if
(
dap_chain_gdb_init
_py
()
!=
0
){
PyErr_SetString
(
CellFrame_error
,
"Failed to initialize GDB module. "
);
return
NULL
;
}
...
...
@@ -334,6 +334,8 @@ PyMODINIT_FUNC PyInit_CellFrame(void){
PyType_Ready
(
&
DapChainNetStateObject_DapChainNetStateObjectType
)
<
0
||
// =============
PyType_Ready
(
&
DapChainGDBObject_DapChainGDBType
)
<
0
||
PyType_Ready
(
&
DapHTTP_DapHTTPType
)
<
0
||
PyType_Ready
(
&
DapEncHTTP_DapEncHTTPType
)
<
0
||
PyType_Ready
(
&
DapStream_DapStreamType
)
<
0
||
...
...
@@ -402,6 +404,8 @@ PyMODINIT_FUNC PyInit_CellFrame(void){
PyModule_AddObject
(
module
,
"ChainNetState"
,
(
PyObject
*
)
&
DapChainNetStateObject_DapChainNetStateObjectType
);
// =============
PyModule_AddObject
(
module
,
"ChainGDB"
,
(
PyObject
*
)
&
DapChainGDBObject_DapChainGDBType
);
PyModule_AddObject
(
module
,
"Http"
,
(
PyObject
*
)
&
DapHTTP_DapHTTPType
);
PyModule_AddObject
(
module
,
"EncHttp"
,
(
PyObject
*
)
&
DapEncHTTP_DapEncHTTPType
);
PyModule_AddObject
(
module
,
"Stream"
,
(
PyObject
*
)
&
DapStream_DapStreamType
);
...
...
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