aboutsummaryrefslogtreecommitdiffstats
path: root/src/serdi.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-06-13 15:18:27 -0400
committerDavid Robillard <d@drobilla.net>2018-11-25 22:12:47 +0100
commit29f0cefc019e8e93e8ae9bb016c8dc93711173a0 (patch)
tree84b24003561214f4e3444c4f926cea3ba70d2ef9 /src/serdi.c
parent957fbbae9d51e3850f00ed109052ce7bab7087e0 (diff)
downloadserd-29f0cefc019e8e93e8ae9bb016c8dc93711173a0.tar.gz
serd-29f0cefc019e8e93e8ae9bb016c8dc93711173a0.tar.bz2
serd-29f0cefc019e8e93e8ae9bb016c8dc93711173a0.zip
Shorten node constructor names
Diffstat (limited to 'src/serdi.c')
-rw-r--r--src/serdi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/serdi.c b/src/serdi.c
index a7fb802d..8a9e0c79 100644
--- a/src/serdi.c
+++ b/src/serdi.c
@@ -184,9 +184,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;
@@ -228,7 +228,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);