components/python/python27/patches/15-get_wch.patch
changeset 1914 00e8dbcb9b1e
parent 996 0698123e4e6b
child 1954 32663e59626d
equal deleted inserted replaced
1913:bf893655bc39 1914:00e8dbcb9b1e
     1 --- Python-2.7.3/Modules/_cursesmodule.c.orig	2012-09-27 10:17:54.934886883 -0700
     1 --- Python-2.7.6/Modules/_cursesmodule.c.~1~	2013-11-09 23:36:41.000000000 -0800
     2 +++ Python-2.7.3/Modules/_cursesmodule.c	2012-09-27 10:21:19.861160806 -0700
     2 +++ Python-2.7.6/Modules/_cursesmodule.c	2014-05-14 13:36:59.388642793 -0700
     3 @@ -861,6 +861,37 @@
     3 @@ -861,6 +861,37 @@
     4  }
     4  }
     5  
     5  
     6  static PyObject *
     6  static PyObject *
     7 +PyCursesWindow_Get_WCh(PyCursesWindowObject *self, PyObject *args)
     7 +PyCursesWindow_Get_WCh(PyCursesWindowObject *self, PyObject *args)
    36 +
    36 +
    37 +static PyObject *
    37 +static PyObject *
    38  PyCursesWindow_GetKey(PyCursesWindowObject *self, PyObject *args)
    38  PyCursesWindow_GetKey(PyCursesWindowObject *self, PyObject *args)
    39  {
    39  {
    40      int x, y;
    40      int x, y;
    41 @@ -1570,6 +1601,7 @@
    41 @@ -1572,6 +1603,7 @@
    42      {"getbegyx",        (PyCFunction)PyCursesWindow_getbegyx, METH_NOARGS},
    42      {"getbegyx",        (PyCFunction)PyCursesWindow_getbegyx, METH_NOARGS},
    43      {"getbkgd",         (PyCFunction)PyCursesWindow_GetBkgd, METH_NOARGS},
    43      {"getbkgd",         (PyCFunction)PyCursesWindow_GetBkgd, METH_NOARGS},
    44      {"getch",           (PyCFunction)PyCursesWindow_GetCh, METH_VARARGS},
    44      {"getch",           (PyCFunction)PyCursesWindow_GetCh, METH_VARARGS},
    45 +    {"get_wch",         (PyCFunction)PyCursesWindow_Get_WCh, METH_VARARGS},
    45 +    {"get_wch",         (PyCFunction)PyCursesWindow_Get_WCh, METH_VARARGS},
    46      {"getkey",          (PyCFunction)PyCursesWindow_GetKey, METH_VARARGS},
    46      {"getkey",          (PyCFunction)PyCursesWindow_GetKey, METH_VARARGS},