mirror of https://github.com/python/cpython
more stuff
This commit is contained in:
parent
e26c263e71
commit
ea39abd56c
|
@ -661,7 +661,7 @@ static PyObject *Win_FrontWindow(_self, _args)
|
|||
return NULL;
|
||||
_rv = FrontWindow();
|
||||
_res = Py_BuildValue("O&",
|
||||
WinObj_New, _rv);
|
||||
WinObj_WhichWindow, _rv);
|
||||
return _res;
|
||||
}
|
||||
|
||||
|
@ -871,3 +871,4 @@ void initWin()
|
|||
|
||||
/* ========================= End module Win ========================= */
|
||||
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ f = Method(void, 'SendBehind',
|
|||
)
|
||||
methods.append(f)
|
||||
|
||||
f = Function(WindowPtr, 'FrontWindow',
|
||||
f = Function(ExistingWindowPtr, 'FrontWindow',
|
||||
)
|
||||
functions.append(f)
|
||||
|
||||
|
@ -224,3 +224,5 @@ f = Method(void, 'DragWindow',
|
|||
(Rect_ptr, 'boundsRect', InMode),
|
||||
)
|
||||
methods.append(f)
|
||||
|
||||
|
||||
|
|
|
@ -62,7 +62,11 @@ class MyScanner(Scanner):
|
|||
|
||||
([("WindowPtr", "*", "OutMode")],
|
||||
[("ExistingWindowPtr", "*", "*")]),
|
||||
|
||||
([("WindowPtr", "FrontWindow", "ReturnMode")],
|
||||
[("ExistingWindowPtr", "*", "*")]),
|
||||
]
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
|
|
Loading…
Reference in New Issue