diff options
author | Dave Beckett <dave@dajobe.org> | 2010-01-17 16:39:44 -0800 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2010-01-17 16:39:44 -0800 |
commit | cc495e27543eb2c4538ae07f79f99362e9339fc7 (patch) | |
tree | 121f3192612325be17b3e9f50c8e25031059eb63 /utils/rapper.c | |
parent | 59fcf725a44d7cc84fdde710170fb6f572123844 (diff) | |
download | raptor-cc495e27543eb2c4538ae07f79f99362e9339fc7.tar.gz |
Remove _v2 from name and world arg from raptor_locator functions
(raptor_print_locator): Renamed from raptor_print_locator_v2 and
loses world arg.
(raptor_format_locator): Renamed from raptor_format_locator_v2 and
loses world arg.
(raptor_locator_uri_string): Renamed from raptor_locator_uri_v2 and
renamed to reflect returns a string not a raptor_uri*
Diffstat (limited to 'utils/rapper.c')
-rw-r--r-- | utils/rapper.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/rapper.c b/utils/rapper.c index ec9027a0..96e20810 100644 --- a/utils/rapper.c +++ b/utils/rapper.c @@ -227,7 +227,7 @@ rdfdump_error_handler(void *data, raptor_locator *locator, if(!ignore_errors) { fprintf(stderr, "%s: Error - ", program); - raptor_print_locator_v2(raptor_parser_get_world(parser), stderr, locator); + raptor_print_locator(stderr, locator); fprintf(stderr, " - %s\n", message); raptor_parse_abort(parser); @@ -241,11 +241,11 @@ static void rdfdump_warning_handler(void *data, raptor_locator *locator, const char *message) { - raptor_parser *parser = (raptor_parser *)data; + /* raptor_parser *parser = (raptor_parser *)data; */ if(!ignore_warnings) { fprintf(stderr, "%s: Warning - ", program); - raptor_print_locator_v2(raptor_parser_get_world(parser), stderr, locator); + raptor_print_locator(stderr, locator); fprintf(stderr, " - %s\n", message); } |