mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
QDFlushPortBuffer() has an optional region argument.
This commit is contained in:
parent
ac959779f0
commit
d6b2aeb10d
2 changed files with 5 additions and 1 deletions
|
@ -4802,7 +4802,7 @@ static PyObject *Qd_QDFlushPortBuffer(_self, _args)
|
|||
RgnHandle region;
|
||||
if (!PyArg_ParseTuple(_args, "O&O&",
|
||||
GrafObj_Convert, &port,
|
||||
ResObj_Convert, ®ion))
|
||||
OptResObj_Convert, ®ion))
|
||||
return NULL;
|
||||
QDFlushPortBuffer(port,
|
||||
region);
|
||||
|
|
|
@ -182,6 +182,10 @@ extend = 0x40
|
|||
([('RgnHandle', 'maskRgn', 'InMode')],
|
||||
[('OptRgnHandle', 'maskRgn', 'InMode')]),
|
||||
|
||||
('QDFlushPortBuffer',
|
||||
[('RgnHandle', '*', 'InMode')],
|
||||
[('OptRgnHandle', '*', 'InMode')]),
|
||||
|
||||
# Accessors with reference argument also returned.
|
||||
([('Rect_ptr', 'GetPortBounds', 'ReturnMode')],
|
||||
[('void', '*', 'ReturnMode')]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue