From b40211f7fdbaf9f56dd33b22674c2d3b0b1764c6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 8 Aug 2014 14:46:53 +0000 Subject: Use Markdown in doc comments for better source readability. git-svn-id: http://svn.drobilla.net/lad/trunk/raul@5429 a436a847-0d15-0410-975c-d299462d15a1 --- raul/SRMWQueue.hpp | 4 ++-- raul/SRSWQueue.hpp | 4 ++-- raul/Symbol.hpp | 2 +- raul/TimeStamp.hpp | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/raul/SRMWQueue.hpp b/raul/SRMWQueue.hpp index 9562a87..2a36e5b 100644 --- a/raul/SRMWQueue.hpp +++ b/raul/SRMWQueue.hpp @@ -75,7 +75,7 @@ private: unsigned _front; ///< Circular index of element at front of queue (READER ONLY) std::atomic _back; ///< Circular index 1 past element at back of queue (WRITERS ONLY) std::atomic _write_space; ///< Remaining free space for new elements (all threads) - const unsigned _size; ///< Size of @ref _objects (you can store _size-1 objects) + const unsigned _size; ///< Size of `_objects` (you can store _size-1 objects) T* const _objects; ///< Fixed array containing queued elements std::atomic* const _valid; ///< Parallel array to _objects, whether loc is written or not @@ -121,7 +121,7 @@ SRMWQueue::full() const * * Write thread(s) only. * - * @returns true if @a elem was successfully pushed onto the queue, + * @returns true if `elem` was successfully pushed onto the queue, * false otherwise (queue is full). */ template diff --git a/raul/SRSWQueue.hpp b/raul/SRSWQueue.hpp index b9554a6..36c0f5d 100644 --- a/raul/SRSWQueue.hpp +++ b/raul/SRSWQueue.hpp @@ -62,7 +62,7 @@ public: private: std::atomic _front; ///< Index to front of queue (circular) std::atomic _back; ///< Index to back of queue (one past last element) (circular) - const size_t _size; ///< Size of @ref _objects (you can store _size-1 objects) + const size_t _size; ///< Size of `_objects` (you can store _size-1 objects) T* const _objects; ///< Fixed array containing queued elements }; @@ -111,7 +111,7 @@ SRSWQueue::front() const /** Push an item onto the back of the SRSWQueue - realtime-safe, not thread-safe. * - * @returns true if @a elem was successfully pushed onto the queue, + * @returns true if `elem` was successfully pushed onto the queue, * false otherwise (queue is full). */ template diff --git a/raul/Symbol.hpp b/raul/Symbol.hpp index 6f0dd91..551d770 100644 --- a/raul/Symbol.hpp +++ b/raul/Symbol.hpp @@ -104,7 +104,7 @@ public: /** Convert a string to a valid symbol. * - * This will make a best effort at turning @a str into a complete, valid + * This will make a best effort at turning `str` into a complete, valid * Symbol, and will always return one. */ static inline Symbol symbolify(const std::basic_string& in) { diff --git a/raul/TimeStamp.hpp b/raul/TimeStamp.hpp index ea8b04c..f27e761 100644 --- a/raul/TimeStamp.hpp +++ b/raul/TimeStamp.hpp @@ -37,8 +37,8 @@ public: SECONDS }; - /** @a ppt (parts per tick) is the sample rate for FRAMES, - * PPQN for BEATS, and ignored for SECONDS. + /** `ppt` (parts per tick) is the sample rate for FRAMES, PPQN for BEATS, + * and ignored for SECONDS. */ inline TimeUnit(Type type, uint32_t ppt) { assert(type == SECONDS || ppt != 0); -- cgit v1.2.1