diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-02-06 16:13:50 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-02-06 16:13:50 (GMT) |
commit | d6b2aeb10d9c164b2df3401374ba73102ab6d48d (patch) | |
tree | 541d74d0e2d7c0280fc1b33e4612fa8f0d1888da /Mac | |
parent | ac959779f0bca9b82a658fd079e542cb94288751 (diff) | |
download | cpython-d6b2aeb10d9c164b2df3401374ba73102ab6d48d.zip cpython-d6b2aeb10d9c164b2df3401374ba73102ab6d48d.tar.gz cpython-d6b2aeb10d9c164b2df3401374ba73102ab6d48d.tar.bz2 |
QDFlushPortBuffer() has an optional region argument.
Diffstat (limited to 'Mac')
-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')]), |