summaryrefslogtreecommitdiffstats
path: root/include/raul
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-02 17:58:58 +0100
committerDavid Robillard <d@drobilla.net>2021-01-02 17:58:58 +0100
commit45a608b57f75a6e1f1d8f33a6423da5d4947502b (patch)
treede315f0e39b2d32697d44c4018b934e1f582fc73 /include/raul
parent045ba07debf32f643f5af7a3a4ee794f226ed22e (diff)
downloadraul-45a608b57f75a6e1f1d8f33a6423da5d4947502b.tar.gz
raul-45a608b57f75a6e1f1d8f33a6423da5d4947502b.tar.bz2
raul-45a608b57f75a6e1f1d8f33a6423da5d4947502b.zip
Make namespace name lowercase
Diffstat (limited to 'include/raul')
-rw-r--r--include/raul/Array.hpp4
-rw-r--r--include/raul/Deletable.hpp4
-rw-r--r--include/raul/DoubleBuffer.hpp4
-rw-r--r--include/raul/Exception.hpp4
-rw-r--r--include/raul/Maid.hpp6
-rw-r--r--include/raul/Noncopyable.hpp4
-rw-r--r--include/raul/Path.hpp8
-rw-r--r--include/raul/Process.hpp4
-rw-r--r--include/raul/RingBuffer.hpp4
-rw-r--r--include/raul/Semaphore.hpp4
-rw-r--r--include/raul/Socket.hpp6
-rw-r--r--include/raul/Symbol.hpp4
12 files changed, 28 insertions, 28 deletions
diff --git a/include/raul/Array.hpp b/include/raul/Array.hpp
index 9e7e24c..10f352d 100644
--- a/include/raul/Array.hpp
+++ b/include/raul/Array.hpp
@@ -23,7 +23,7 @@
#include <cstddef>
#include <memory>
-namespace Raul {
+namespace raul {
/** A disposable array with size.
*
@@ -156,6 +156,6 @@ private:
std::unique_ptr<T[]> _elems;
};
-} // namespace Raul
+} // namespace raul
#endif // RAUL_ARRAY_HPP
diff --git a/include/raul/Deletable.hpp b/include/raul/Deletable.hpp
index 39262c8..e8f33bc 100644
--- a/include/raul/Deletable.hpp
+++ b/include/raul/Deletable.hpp
@@ -16,7 +16,7 @@
#ifndef RAUL_DELETABLE_HPP
#define RAUL_DELETABLE_HPP
-namespace Raul {
+namespace raul {
/** Something with a virtual destructor.
*
@@ -36,6 +36,6 @@ public:
virtual ~Deletable() = default;
};
-} // namespace Raul
+} // namespace raul
#endif // RAUL_DELETABLE_HPP
diff --git a/include/raul/DoubleBuffer.hpp b/include/raul/DoubleBuffer.hpp
index 1c1ee69..1693f25 100644
--- a/include/raul/DoubleBuffer.hpp
+++ b/include/raul/DoubleBuffer.hpp
@@ -19,7 +19,7 @@
#include <atomic>
#include <utility>
-namespace Raul {
+namespace raul {
/** Double buffer.
*
@@ -99,6 +99,6 @@ private:
T _vals[2];
};
-} // namespace Raul
+} // namespace raul
#endif // RAUL_DOUBLEBUFFER_HPP
diff --git a/include/raul/Exception.hpp b/include/raul/Exception.hpp
index 919ece2..595800f 100644
--- a/include/raul/Exception.hpp
+++ b/include/raul/Exception.hpp
@@ -20,7 +20,7 @@
#include <string>
#include <utility>
-namespace Raul {
+namespace raul {
/** An exception (unexpected error). */
class Exception : public std::exception
@@ -38,6 +38,6 @@ private:
const std::string _what;
};
-} // namespace Raul
+} // namespace raul
#endif // RAUL_EXCEPTION_HPP
diff --git a/include/raul/Maid.hpp b/include/raul/Maid.hpp
index 9176d8b..bc0ac4f 100644
--- a/include/raul/Maid.hpp
+++ b/include/raul/Maid.hpp
@@ -23,7 +23,7 @@
#include <memory>
#include <utility>
-namespace Raul {
+namespace raul {
/** Explicit garbage-collector.
*
@@ -60,7 +60,7 @@ public:
/** Disposable wrapper for any type. */
template<typename T>
class Managed
- : public Raul::Maid::Disposable
+ : public raul::Maid::Disposable
, public T
{
public:
@@ -170,6 +170,6 @@ private:
template<typename T>
using managed_ptr = Maid::managed_ptr<T>;
-} // namespace Raul
+} // namespace raul
#endif // RAUL_MAID_HPP
diff --git a/include/raul/Noncopyable.hpp b/include/raul/Noncopyable.hpp
index 6cfd0ed..f5aadbb 100644
--- a/include/raul/Noncopyable.hpp
+++ b/include/raul/Noncopyable.hpp
@@ -16,7 +16,7 @@
#ifndef RAUL_NONCOPYABLE_HPP
#define RAUL_NONCOPYABLE_HPP
-namespace Raul {
+namespace raul {
class Noncopyable
{
@@ -32,6 +32,6 @@ protected:
~Noncopyable() = default;
};
-} // namespace Raul
+} // namespace raul
#endif // RAUL_NONCOPYABLE_HPP
diff --git a/include/raul/Path.hpp b/include/raul/Path.hpp
index 8da985a..e5ca5c9 100644
--- a/include/raul/Path.hpp
+++ b/include/raul/Path.hpp
@@ -23,7 +23,7 @@
#include <cstddef>
#include <string>
-namespace Raul {
+namespace raul {
/** A restricted path of Symbols separated by, and beginning with, "/".
*
@@ -139,7 +139,7 @@ public:
*
* This is what is called the "basename" for file paths, the "method name"
* for OSC paths, and so on. Since the root path does not have a symbol,
- * this does not return a Raul::Symbol but may return the empty string.
+ * this does not return a raul::Symbol but may return the empty string.
*/
inline const char* symbol() const
{
@@ -175,7 +175,7 @@ public:
}
/** Return a direct child Path of this Path with the given Symbol. */
- inline Path child(const Raul::Symbol& symbol) const
+ inline Path child(const raul::Symbol& symbol) const
{
return Path(base() + symbol.c_str());
}
@@ -223,6 +223,6 @@ public:
}
};
-} // namespace Raul
+} // namespace raul
#endif // RAUL_PATH_HPP
diff --git a/include/raul/Process.hpp b/include/raul/Process.hpp
index 1c5deed..b05b038 100644
--- a/include/raul/Process.hpp
+++ b/include/raul/Process.hpp
@@ -21,7 +21,7 @@
#include <sys/resource.h>
#include <unistd.h>
-namespace Raul {
+namespace raul {
/** A child process.
*
@@ -79,6 +79,6 @@ private:
Process() = default;
};
-} // namespace Raul
+} // namespace raul
#endif // RAUL_PROCESS_HPP
diff --git a/include/raul/RingBuffer.hpp b/include/raul/RingBuffer.hpp
index 5460de2..d194ca4 100644
--- a/include/raul/RingBuffer.hpp
+++ b/include/raul/RingBuffer.hpp
@@ -24,7 +24,7 @@
#include <cstring>
#include <memory>
-namespace Raul {
+namespace raul {
/**
A lock-free RingBuffer.
@@ -228,6 +228,6 @@ private:
const std::unique_ptr<char[]> _buf; ///< Contents
};
-} // namespace Raul
+} // namespace raul
#endif // RAUL_RINGBUFFER_HPP
diff --git a/include/raul/Semaphore.hpp b/include/raul/Semaphore.hpp
index 5e9303b..9e8dbb1 100644
--- a/include/raul/Semaphore.hpp
+++ b/include/raul/Semaphore.hpp
@@ -30,7 +30,7 @@
#include <chrono>
#include <stdexcept>
-namespace Raul {
+namespace raul {
/**
Unnamed (process local) counting semaphore.
@@ -271,6 +271,6 @@ Semaphore::timed_wait(const std::chrono::duration<Rep, Period>& wait)
#endif
-} // namespace Raul
+} // namespace raul
#endif // RAUL_SEMAPHORE_HPP
diff --git a/include/raul/Socket.hpp b/include/raul/Socket.hpp
index 7da3555..55d2f70 100644
--- a/include/raul/Socket.hpp
+++ b/include/raul/Socket.hpp
@@ -29,10 +29,10 @@
#include <string>
#include <utility>
-namespace Raul {
+namespace raul {
/** A safe and simple interface for UNIX or TCP sockets. */
-class Socket : public Raul::Noncopyable
+class Socket : public raul::Noncopyable
{
public:
enum class Type { UNIX, TCP };
@@ -254,6 +254,6 @@ Socket::shutdown() // NOLINT(readability-make-member-function-const)
}
}
-} // namespace Raul
+} // namespace raul
#endif // RAUL_SOCKET_HPP
diff --git a/include/raul/Symbol.hpp b/include/raul/Symbol.hpp
index 5794440..10446d0 100644
--- a/include/raul/Symbol.hpp
+++ b/include/raul/Symbol.hpp
@@ -22,7 +22,7 @@
#include <cstddef>
#include <string>
-namespace Raul {
+namespace raul {
/** A restricted string which is a valid C identifier and Path component.
*
@@ -129,6 +129,6 @@ public:
}
};
-} // namespace Raul
+} // namespace raul
#endif // RAUL_SYMBOL_HPP