[api] Default options accessible through getters, not static structs

This commit is contained in:
Al
2016-02-15 17:16:21 -05:00
parent f5ae95eb70
commit cf2a79bef1
6 changed files with 52 additions and 39 deletions

View File

@@ -109,7 +109,7 @@ int main(int argc, char **argv) {
}
address_parser_response_t *parsed;
address_parser_options_t options = LIBPOSTAL_ADDRESS_PARSER_DEFAULT_OPTIONS;
address_parser_options_t options = get_libpostal_address_parser_default_options();
if ((parsed = parse_address(input, options))) {
printf("\n");