aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-08-08 06:11:52 +0000
committerDavid Robillard <d@drobilla.net>2014-08-08 06:11:52 +0000
commit4d63cd1d88ea7b911e56b5f18c3643409b3828c7 (patch)
tree869dab67dde22759b87fed8ac8b10cc4ce795dd5 /src
parent90a8593b3854707144701dfa1541b3ec74430b12 (diff)
downloadserd-4d63cd1d88ea7b911e56b5f18c3643409b3828c7.tar.gz
serd-4d63cd1d88ea7b911e56b5f18c3643409b3828c7.tar.bz2
serd-4d63cd1d88ea7b911e56b5f18c3643409b3828c7.zip
Use Markdown in doc comments for better source readability.
git-svn-id: http://svn.drobilla.net/serd/trunk@469 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src')
-rw-r--r--src/serd_internal.h2
-rw-r--r--src/uri.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/serd_internal.h b/src/serd_internal.h
index 613493ab..bfdcc19c 100644
--- a/src/serd_internal.h
+++ b/src/serd_internal.h
@@ -265,7 +265,7 @@ uri_path_at(const SerdURI* uri, size_t i)
}
}
-/** Return true iff @p uri is within the base of @p root */
+/** Return true iff `uri` is within the base of `root` */
static inline bool
uri_is_under(const SerdURI* uri, const SerdURI* root)
{
diff --git a/src/uri.c b/src/uri.c
index cce4378e..467b54c1 100644
--- a/src/uri.c
+++ b/src/uri.c
@@ -317,7 +317,7 @@ remove_dot_segments(const uint8_t* path, size_t len, size_t* up)
return begin;
}
-/// Merge @p base and @p path in-place
+/// Merge `base` and `path` in-place
static void
merge(SerdChunk* base, SerdChunk* path)
{
@@ -396,7 +396,7 @@ serd_uri_resolve(const SerdURI* r, const SerdURI* base, SerdURI* t)
#endif
}
-/** Write the path of @p uri starting at index @p i */
+/** Write the path of `uri` starting at index `i` */
static size_t
write_path_tail(SerdSink sink, void* stream, const SerdURI* uri, size_t i)
{
@@ -415,7 +415,7 @@ write_path_tail(SerdSink sink, void* stream, const SerdURI* uri, size_t i)
return len;
}
-/** Write the path of @p uri relative to the path of @p base. */
+/** Write the path of `uri` relative to the path of `base`. */
static size_t
write_rel_path(SerdSink sink,
void* stream,