You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change memory ordering for reference counting
This commit changes the the reference counting behavior, going
from add/sub with SEQ_CST/SEQ_CST to add/sub with
RELAXED/RELEASE+ACQUIRE.
This should make for more efficent clones and frees.
This method is inspired by the reference counter implementation in
the boost library.
https://www.boost.org/doc/libs/1_57_0/doc/html/atomic/usage_examples.html
Add custom error creator function
This commit add the tg_geom_new_error() function, which allows
for creating custom error geometries outside of the TG library.
Fix segfault while serializing a geometrycollection
This commit addresses an issue where serializing a
geometrycollection may segfault.
For tg_geom_geojson(), tg_geom_wkt(), and tg_geom_wkb()
Fixes#7