diff options
author | David Robillard <d@drobilla.net> | 2011-05-05 03:31:19 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-05-05 03:31:19 +0000 |
commit | 8c7698ce03e89cec0c85245a5d67362744eacdb3 (patch) | |
tree | aeb39a771fb2034da1a34a65697546416a9038c5 /src/reader.c | |
parent | 345d1d4b7d726fc63219de124d8a4a13734dc72e (diff) | |
download | serd-8c7698ce03e89cec0c85245a5d67362744eacdb3.tar.gz serd-8c7698ce03e89cec0c85245a5d67362744eacdb3.tar.bz2 serd-8c7698ce03e89cec0c85245a5d67362744eacdb3.zip |
Make serd_read_state_get_base_uri return a pointer.
git-svn-id: http://svn.drobilla.net/serd/trunk@157 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/reader.c')
-rw-r--r-- | src/reader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reader.c b/src/reader.c index 6d9cc599..d6c97eec 100644 --- a/src/reader.c +++ b/src/reader.c @@ -1493,12 +1493,12 @@ serd_read_state_expand(SerdReadState* state, } SERD_API -SerdNode +const SerdNode* serd_read_state_get_base_uri(SerdReadState* state, SerdURI* out) { *out = state->base_uri; - return state->base_uri_node; + return &state->base_uri_node; } SERD_API |