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

[*] Fix. The dap_events_socket _kill_py wrapping function has been changed to...

[*] Fix. The dap_events_socket _kill_py wrapping function has been changed to the dap_events_socket_kill_socket_py function  since the original function has been renamed from dap_events_socket_kill to dap_events_socket_kill_socket.
parent 9463c459
No related branches found
No related tags found
1 merge request!26Support 3689
...@@ -19,7 +19,7 @@ void PyDapEventsObject_dealloc(PyDapEventsObject *eventsObject); ...@@ -19,7 +19,7 @@ void PyDapEventsObject_dealloc(PyDapEventsObject *eventsObject);
PyObject *PyDapEventsObject_new(PyTypeObject *type_object, PyObject *args, PyObject *kwds); PyObject *PyDapEventsObject_new(PyTypeObject *type_object, PyObject *args, PyObject *kwds);
PyObject *dap_events_socket_remove_and_delete_py(PyDapEventsObject *self, PyObject *args); PyObject *dap_events_socket_remove_and_delete_py(PyDapEventsObject *self, PyObject *args);
PyObject *dap_events_kill_socket_py(PyDapEventsObject *self, PyObject *args); PyObject *dap_events_socket_kill_socket_py(PyDapEventsObject *self, PyObject *args);
PyObject *dap_events_start_py(PyDapEventsObject *self); PyObject *dap_events_start_py(PyDapEventsObject *self);
PyObject *dap_events_wait_py(PyDapEventsObject *self); PyObject *dap_events_wait_py(PyDapEventsObject *self);
...@@ -27,7 +27,7 @@ PyObject *dap_events_wait_py(PyDapEventsObject *self); ...@@ -27,7 +27,7 @@ PyObject *dap_events_wait_py(PyDapEventsObject *self);
static PyMethodDef PyDapEventsObject_methods[] = { static PyMethodDef PyDapEventsObject_methods[] = {
{"start", (PyCFunction)dap_events_start_py, METH_NOARGS, ""}, {"start", (PyCFunction)dap_events_start_py, METH_NOARGS, ""},
{"wait", (PyCFunction)dap_events_wait_py, METH_NOARGS, ""}, {"wait", (PyCFunction)dap_events_wait_py, METH_NOARGS, ""},
{"killSocket", (PyCFunction)dap_events_kill_socket_py, METH_VARARGS, ""}, {"killSocket", (PyCFunction)dap_events_socket_kill_socket_py, METH_VARARGS, ""},
{"removeAndDeleteSocket", (PyCFunction)dap_events_socket_remove_and_delete_py, METH_VARARGS, ""}, {"removeAndDeleteSocket", (PyCFunction)dap_events_socket_remove_and_delete_py, METH_VARARGS, ""},
{NULL, NULL, 0, NULL} /* Sentinel */ {NULL, NULL, 0, NULL} /* Sentinel */
}; };
......
...@@ -24,12 +24,12 @@ PyObject *dap_events_socket_remove_and_delete_py(PyDapEventsObject *self, PyObje ...@@ -24,12 +24,12 @@ PyObject *dap_events_socket_remove_and_delete_py(PyDapEventsObject *self, PyObje
return PyLong_FromLong(0); return PyLong_FromLong(0);
} }
PyObject *dap_events_kill_socket_py(PyDapEventsObject *self, PyObject *args){ PyObject *dap_events_socket_kill_socket_py(PyDapEventsObject *self, PyObject *args){
PyObject *in_obj; PyObject *in_obj;
if (!PyArg_ParseTuple(args, "O", &in_obj)){ if (!PyArg_ParseTuple(args, "O", &in_obj)){
return NULL; return NULL;
} }
dap_events_kill_socket(((PyDapEventsSocketObject*)in_obj)->t_events_socket); dap_events_socket_kill_socket(((PyDapEventsSocketObject*)in_obj)->t_events_socket);
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