diff options
Diffstat (limited to 'Mac/Modules')
-rw-r--r-- | Mac/Modules/qd/Qdmodule.c | 2 | ||||
-rw-r--r-- | Mac/Modules/qd/qdscan.py | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Mac/Modules/qd/Qdmodule.c b/Mac/Modules/qd/Qdmodule.c index aece598..12f44f4 100644 --- a/Mac/Modules/qd/Qdmodule.c +++ b/Mac/Modules/qd/Qdmodule.c @@ -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); diff --git a/Mac/Modules/qd/qdscan.py b/Mac/Modules/qd/qdscan.py index 6336ba8..d47b46a 100644 --- a/Mac/Modules/qd/qdscan.py +++ b/Mac/Modules/qd/qdscan.py @@ -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')]), |