ext/snowcrash/src/Serialize.h in redsnow-0.2.1 vs ext/snowcrash/src/Serialize.h in redsnow-0.3.0
- old
+ new
@@ -13,26 +13,26 @@
/** Version of API Blueprint AST serialization */
#define AST_SERIALIZATION_VERSION "2.1"
namespace snowcrash {
-
+
/**
* \brief Escape new lines in input string.
* \param input A string to escape its new lines.
* \return A new string with lines escaped.
*
* This function replaces all occurences of "\n" with "\\n".
*/
std::string EscapeNewlines(const std::string& input);
-
+
/**
* \brief Escape every double quote in input string.
* \param input A string to escape its double quotes.
* \return A new string with double quotes escaped.
*/
std::string EscapeDoubleQuotes(const std::string& input);
-
+
/**
* AST entities serialization keys
*/
struct SerializeKey {
static const std::string ASTVersion;