[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

@@ -1,6 +1,10 @@
#ifndef LIBPOSTAL_H
#define LIBPOSTAL_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
@@ -58,4 +62,8 @@ char **expand_address(char *input, normalize_options_t options, uint64_t *n);
bool libpostal_setup(void);
void libpostal_teardown(void);
#ifdef __cplusplus
}
#endif
#endif