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

[+] Transferred the code needed to create and work with the Server object in a separate file

parent 4f160a13
No related branches found
No related tags found
1 merge request!4Features 2466
#include "Python.h"
#include "dap_server.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct PyDapServer {
PyObject_HEAD
dap_server_t *t_server;
}PyDapServerObject;
PyTypeObject dapServer_dapServerType = {
PyVarObject_HEAD_INIT(NULL, 0)
"libCellFrame.ServerCore.DapServer", /* tp_name */
sizeof(PyDapServerObject), /* tp_basicsize */
0, /* tp_itemsize */
0, /* tp_dealloc */
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
0, /* tp_compare */
0, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */
0, /* tp_as_mapping */
0, /* tp_hash */
0, /* tp_call */
0, /* tp_str */
0, /* tp_getattro */
0, /* tp_setattro */
0, /* tp_as_buffer */
Py_TPFLAGS_DEFAULT, /* tp_flags */
"DapServer objects", /* tp_doc */
};
#ifdef __cplusplus
}
#endif
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