Modifed the libpostal API to add an extra function libpostal_parser_print_features to toggle debugging info. Updated address_parser app to use the new function.

This commit is contained in:
AeroXuk
2017-11-27 19:20:37 +00:00
parent 69e0d5d963
commit 9090811826
6 changed files with 20 additions and 5 deletions

View File

@@ -101,6 +101,8 @@ LIBPOSTAL_EXPORT libpostal_address_parser_options_t libpostal_get_address_parser
LIBPOSTAL_EXPORT libpostal_address_parser_response_t *libpostal_parse_address(char *address, libpostal_address_parser_options_t options);
LIBPOSTAL_EXPORT bool libpostal_parser_print_features(bool print_features);
// Setup/teardown methods
LIBPOSTAL_EXPORT bool libpostal_setup(void);