[pywin32-checkins] pywin32/win32/src win32apimodule.cpp,1.75,1.76
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2007-06-01 14:57:22
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7399/src Modified Files: win32apimodule.cpp Log Message: Correct VkKeyScan arg handling and add tests Index: win32apimodule.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/win32apimodule.cpp,v retrieving revision 1.75 retrieving revision 1.76 diff -C2 -d -r1.75 -r1.76 *** win32apimodule.cpp 27 May 2007 17:32:14 -0000 1.75 --- win32apimodule.cpp 1 Jun 2007 14:57:19 -0000 1.76 *************** *** 1329,1333 **** PyVkKeyScan(PyObject * self, PyObject * args) { ! char *key; // @pyparm chr|char||Specifies a character if (!PyArg_ParseTuple(args, "c:VkKeyScan", &key)) --- 1329,1333 ---- PyVkKeyScan(PyObject * self, PyObject * args) { ! char key; // @pyparm chr|char||Specifies a character if (!PyArg_ParseTuple(args, "c:VkKeyScan", &key)) *************** *** 1336,1340 **** PyW32_BEGIN_ALLOW_THREADS // @pyseeapi VkKeyScan ! ret = VkKeyScan(key[0]); PyW32_END_ALLOW_THREADS return PyInt_FromLong(ret); --- 1336,1340 ---- PyW32_BEGIN_ALLOW_THREADS // @pyseeapi VkKeyScan ! ret = VkKeyScan(key); PyW32_END_ALLOW_THREADS return PyInt_FromLong(ret); |