ext/geohash_wrapper/geohash.h in dynamodb_geo-0.0.2 vs ext/geohash_wrapper/geohash.h in dynamodb_geo-0.1.0
- old
+ new
@@ -69,9 +69,11 @@
* N, NE, E, SE, S, SW, W, NW
* 0, 1, 2, 3, 4, 5, 6, 7
*/
extern char** geohash_neighbors(char* hash);
+// sorry I added this, this was not in the original header
+extern char* get_neighbor(char *hash, int direction);
/*
* Returns the width and height of a precision value.
*/
extern GeoBoxDimension geohash_dimensions_for_precision(int precision);