summaryrefslogtreecommitdiff
path: root/include/rtl/string.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-05-29 15:01:18 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-05-29 15:03:01 +0200
commit8c3657658a70523005c0dbb19a691aa025da039a (patch)
treea5f561aaa3cfc8b015662a24903990975b901484 /include/rtl/string.hxx
parent54054514403a3e9bc45a71b20eb5e58befbb5508 (diff)
Tweak comments
(Preventing documentation of macros via @cond ... @endcond is apparently at least broken in Doxygen 1.8.3 and working in Doxygen 1.8.4.) Change-Id: I2ee582119dba2c3d27db5298786d3076921af46d
Diffstat (limited to 'include/rtl/string.hxx')
-rw-r--r--include/rtl/string.hxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/rtl/string.hxx b/include/rtl/string.hxx
index 6cb69c6479b0..9432b7449562 100644
--- a/include/rtl/string.hxx
+++ b/include/rtl/string.hxx
@@ -53,6 +53,7 @@
namespace rtl
{
+/// @cond INTERNAL
#ifdef RTL_STRING_UNITTEST
#undef rtl
// helper macro to make functions appear more readable
@@ -60,6 +61,7 @@ namespace rtl
#else
#define RTL_STRING_CONST_FUNCTION
#endif
+/// @endcond
/* ======================================================================= */
@@ -1638,8 +1640,10 @@ inline std::basic_ostream<charT, traits> & operator <<(
return stream << OString( concat );
}
#else
-// non-RTL_FAST_CODE needs this to compile
+// non-RTL_FAST_STRING needs this to compile
+/// @cond INTERNAL
typedef OString OStringLiteral;
+/// @endcond
#endif
@@ -1663,14 +1667,14 @@ struct OStringHash
{ return (size_t)rString.hashCode(); }
};
-/** Equality functor for classic c-strings (i.e. null-terminated char* strings) */
+/** Equality functor for classic c-strings (i.e., null-terminated char* strings). */
struct CStringEqual
{
bool operator()( const char* p1, const char* p2) const
{ return rtl_str_compare(p1, p2) == 0; }
};
-/** Hashing functor for classic c-strings (i.e. null-terminated char* strings) */
+/** Hashing functor for classic c-strings (i.e., null-terminated char* strings). */
struct CStringHash
{
size_t operator()(const char* p) const