aboutsummaryrefslogtreecommitdiffstats
path: root/src/serdi.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-13 11:22:18 +0100
committerDavid Robillard <d@drobilla.net>2023-12-02 16:27:02 -0500
commit4401b2bbcda598599469722d7288bc36e389e356 (patch)
tree858d8e69db0018e3c825c74cbd2cd82a4b66a0c6 /src/serdi.c
parent70277ccdb3035db83d81d942777c12a60c4aded3 (diff)
downloadserd-4401b2bbcda598599469722d7288bc36e389e356.tar.gz
serd-4401b2bbcda598599469722d7288bc36e389e356.tar.bz2
serd-4401b2bbcda598599469722d7288bc36e389e356.zip
Shorten node constructor names
Diffstat (limited to 'src/serdi.c')
-rw-r--r--src/serdi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serdi.c b/src/serdi.c
index baa19a36..81ca35c5 100644
--- a/src/serdi.c
+++ b/src/serdi.c
@@ -334,9 +334,9 @@ main(int argc, char** argv)
SerdURIView base_uri = SERD_URI_NULL;
SerdNode base = SERD_NODE_NULL;
if (a < argc) { // Base URI given on command line
- base = serd_node_new_uri_from_string((const char*)argv[a], NULL, &base_uri);
+ base = serd_new_uri_from_string((const char*)argv[a], NULL, &base_uri);
} else if (from_file && in_fd != stdin) { // Use input file URI
- base = serd_node_new_file_uri(input, NULL, &base_uri);
+ base = serd_new_file_uri(input, NULL, &base_uri);
}
FILE* const out_fd = stdout;