Kaydet (Commit) d6b2aeb1 authored tarafından Jack Jansen's avatar Jack Jansen

QDFlushPortBuffer() has an optional region argument.

üst ac959779
......@@ -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);
......
......@@ -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')]),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment