Remove unused code

This commit is contained in:
Kovid Goyal
2017-09-25 21:54:03 +05:30
parent 3471887817
commit af971af4ca

View File

@@ -305,14 +305,6 @@ set_should_close(WindowWrapper *self, PyObject *args) {
Py_RETURN_NONE;
}
static PyObject*
set_input_mode(WindowWrapper *self, PyObject *args) {
int which, value;
if (!PyArg_ParseTuple(args, "ii", &which, &value)) return NULL;
glfwSetInputMode(self->window, which, value);
Py_RETURN_NONE;
}
static PyObject*
is_key_pressed(WindowWrapper *self, PyObject *args) {
int c;
@@ -428,7 +420,6 @@ static PyMethodDef methods[] = {
MND(cocoa_window_id, METH_NOARGS),
#endif
MND(set_should_close, METH_VARARGS),
MND(set_input_mode, METH_VARARGS),
MND(is_key_pressed, METH_VARARGS),
MND(set_clipboard_string, METH_VARARGS),
MND(make_context_current, METH_NOARGS),