diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-03-22 15:35:24 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-03-22 15:35:24 (GMT) |
commit | deb6373fff220f0b0dd3024a49ba0628be7b1018 (patch) | |
tree | c5c979eca2da40b876b27bf88b5ce3e88b054c50 /Mac/Modules/te/tesupport.py | |
parent | 8e14f05ae6d068f03940c35c2edb56f5b6fabf78 (diff) | |
download | cpython-deb6373fff220f0b0dd3024a49ba0628be7b1018.zip cpython-deb6373fff220f0b0dd3024a49ba0628be7b1018.tar.gz cpython-deb6373fff220f0b0dd3024a49ba0628be7b1018.tar.bz2 |
Data of type Point is passed by value, not by reference.
Diffstat (limited to 'Mac/Modules/te/tesupport.py')
-rw-r--r-- | Mac/Modules/te/tesupport.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/te/tesupport.py b/Mac/Modules/te/tesupport.py index b078649..b33d0bd 100644 --- a/Mac/Modules/te/tesupport.py +++ b/Mac/Modules/te/tesupport.py @@ -107,7 +107,7 @@ class MyObjectDefinition(GlobalObjectDefinition): return Py_BuildValue("h", (*self->ob_itself)->fontAscent); if( strcmp(name, "selPoint") == 0 ) return Py_BuildValue("O&", PyMac_BuildPoint, - &(*self->ob_itself)->selPoint); + (*self->ob_itself)->selPoint); if( strcmp(name, "selStart") == 0 ) return Py_BuildValue("h", (*self->ob_itself)->selStart); if( strcmp(name, "selEnd") == 0 ) |