diff options
author | David Robillard <d@drobilla.net> | 2018-06-13 15:18:27 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-19 20:55:20 -0500 |
commit | 6aabd3c6c7ef77009e7b9e5c8b01c3759730dc7a (patch) | |
tree | b05f34716ad0ab7cd9d450ea006974fd3c25ac55 /src/serdi.c | |
parent | 0e83ea9bcdc9fd08eda66ddc64fd0464be61e2d0 (diff) | |
download | serd-6aabd3c6c7ef77009e7b9e5c8b01c3759730dc7a.tar.gz serd-6aabd3c6c7ef77009e7b9e5c8b01c3759730dc7a.tar.bz2 serd-6aabd3c6c7ef77009e7b9e5c8b01c3759730dc7a.zip |
Shorten node constructor names
Diffstat (limited to 'src/serdi.c')
-rw-r--r-- | src/serdi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/serdi.c b/src/serdi.c index 70929781..578d1855 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -197,9 +197,9 @@ main(int argc, char** argv) SerdNode* base = NULL; if (a < argc) { // Base URI given on command line - base = serd_node_new_uri((const char*)argv[a]); + base = serd_new_uri((const char*)argv[a]); } else if (!from_string && !from_stdin) { // Use input file URI - base = serd_node_new_file_uri(input, NULL, true); + base = serd_new_file_uri(input, NULL, true); } FILE* out_fd = stdout; @@ -241,7 +241,7 @@ main(int argc, char** argv) serd_world_set_error_sink(world, quiet_error_sink, NULL); } - SerdNode* root = serd_node_new_uri(root_uri); + SerdNode* root = serd_new_uri(root_uri); serd_writer_set_root_uri(writer, root); serd_writer_chop_blank_prefix(writer, chop_prefix); serd_reader_add_blank_prefix(reader, add_prefix); |