Indent every scope and put opening braces on the signature line
Namespace and extern "C" bodies are indented a level, so nesting is visible from the indentation rather than only from the braces. Opening braces stay on the line that opens the scope, including function definitions, which previously carried theirs on a line of their own.
This commit is contained in:
@@ -23,14 +23,12 @@
|
||||
#pragma once
|
||||
|
||||
namespace dpm_core {
|
||||
|
||||
/**
|
||||
* @brief Parses a strict X.Y.Z version string
|
||||
*
|
||||
* @param s The version string
|
||||
* @param out Receives the three parsed components
|
||||
* @return true on success; false on any malformation
|
||||
*/
|
||||
bool parse_version(const char* s, long out[3]);
|
||||
|
||||
/**
|
||||
* @brief Parses a strict X.Y.Z version string
|
||||
*
|
||||
* @param s The version string
|
||||
* @param out Receives the three parsed components
|
||||
* @return true on success; false on any malformation
|
||||
*/
|
||||
bool parse_version(const char* s, long out[3]);
|
||||
} // namespace dpm_core
|
||||
|
||||
Reference in New Issue
Block a user