[fix] Removing C++ checks from all but the main API functions

This commit is contained in:
Al
2015-08-07 16:30:07 -04:00
parent 359a1efb03
commit 9b69d1f67a
19 changed files with 45 additions and 105 deletions

View File

@@ -25,9 +25,7 @@ THE SOFTWARE.
#include <string.h>
#include <stdlib.h>
#ifdef __cplusplus
extern "C" {
#endif
enum {
GEOHASH_OK,
@@ -42,8 +40,6 @@ int geohash_encode(double latitude, double longitude, char* r, size_t capacity);
int geohash_decode(char* r, size_t length, double *latitude, double *longitude);
int geohash_neighbors(char *hashcode, char* dst, size_t dst_length, int *string_count);
#ifdef __cplusplus
}
#endif
#endif