[fix] Removing C++ checks from all but the main API functions
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user