summaryrefslogtreecommitdiff
path: root/django/contrib/admin/templates/admin_doc
diff options
context:
space:
mode:
authorJustin Bronn <jbronn@gmail.com>2007-11-06 00:39:36 +0000
committerJustin Bronn <jbronn@gmail.com>2007-11-06 00:39:36 +0000
commit1c7ad200c7dc9c8719ba756b09ea9432154f470b (patch)
tree55c709875d0d5778ea0ab08f9048b2816b2bc5ff /django/contrib/admin/templates/admin_doc
parent2694fffcc0b8695d91c6b9d4167140721b47c5c5 (diff)
gis: geos: Re-factored GEOS interface. Improvements include:
(1) All interactions with the GEOS library take place through pre-defined ctypes prototypes, abstracting away return-value error-checking. (2) Mutability is now safe. Because GEOS geometry pointers are marked as `const` (Thanks Hobu), previous modification techniques caused unpredictable instability when geometries were constructed from the pointers of other geometries (e.g., a Polygon with rings from another Polygon). Geometry components are cloned first before creation of the modified geometry. (3) Fixed memory leaks by freeing pointers from strings allocated in GEOS because ctypes only frees pointers allocated in Python. Backwards-Incompatibility Notice: All children geometries (e.g., rings from a Polygon, geometries from a collection) are now clones -- modifications will not propagate up to the parent geometry as before. git-svn-id: http://code.djangoproject.com/svn/django/branches/gis@6653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/contrib/admin/templates/admin_doc')
0 files changed, 0 insertions, 0 deletions