- // Name: wxcrt.h
- // Purpose: documentation for global functions
- // Author: wxWidgets team
- // RCS-ID: $Id$
- // Licence: wxWindows license
- /////////////////////////////////////////////////////////////////////////////
-
- /**
- Returns a negative value, 0, or positive value if @e p1 is less than, equal
- to or greater than @e p2. The comparison is case-sensitive.
-
- This function complements the standard C function @e stricmp() which performs
- case-insensitive comparison.
+// Name: wxcrt.h
+// Purpose: interface of global functions
+// Author: wxWidgets team
+// RCS-ID: $Id$
+// Licence: wxWindows license
+/////////////////////////////////////////////////////////////////////////////
+
+/** @ingroup group_funcmacro_string */
+//@{
+
+/**
+ @returns @true if the pointer is either @NULL or points to an empty string,
+ @false otherwise.
+
+ @header{wx/wxcrt.h}
+*/
+bool wxIsEmpty(const char* p);
+
+/**
+ This is a safe version of standard function @e strlen(): it does exactly
+ the same thing (i.e. returns the length of the string) except that it
+ returns 0 if @a p is the @NULL pointer.
+
+ @header{wx/wxcrt.h}
+*/
+size_t wxStrlen(const char* p);
+
+/**
+ This function complements the standard C function @e stricmp() which
+ performs case-insensitive comparison.
+
+ @returns A negative value, 0, or positive value if @a p1 is less than,
+ equal to or greater than @a p2. The comparison is case-sensitive.
+
+ @header{wx/wxcrt.h}