Refactor signature of PlowsPolygon callback to take userdata
commitebf71964c8eb739d536d1146b24746dbbeec6b17
authorPeter Clifton <peter@clifton-electronics.co.uk>
Tue, 25 Dec 2012 12:40:46 +0000 (25 12:40 +0000)
committerPeter Clifton <peter@clifton-electronics.co.uk>
Sun, 30 Dec 2012 10:59:50 +0000 (30 10:59 +0000)
tree291c417d2a6d579ef1c6372e92e9843817748c35
parent059c7c6878b9ab9fa5cf522ec4bf0d97fb610a39
Refactor signature of PlowsPolygon callback to take userdata

This allows callers to pass arbitrary data into their callbacks
without resorting to nasty workarounds like global variables.
src/find.c
src/polygon.c
src/polygon.h