QDFlushPortBuffer() has an optional region argument.

This commit is contained in:
Jack Jansen 2001-02-06 16:13:50 +00:00
parent ac959779f0
commit d6b2aeb10d
2 changed files with 5 additions and 1 deletions

View file

@ -4802,7 +4802,7 @@ static PyObject *Qd_QDFlushPortBuffer(_self, _args)
RgnHandle region;
if (!PyArg_ParseTuple(_args, "O&O&",
GrafObj_Convert, &port,
ResObj_Convert, &region))
OptResObj_Convert, &region))
return NULL;
QDFlushPortBuffer(port,
region);

View file

@ -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')]),