// static class variables definition
// ---------------------------------------------------------------------------
// static class variables definition
// ---------------------------------------------------------------------------
} g_strEmpty = { {-1, 0, 0}, '\0' };
// empty C style string: points to 'string data' byte of g_strEmpty
} g_strEmpty = { {-1, 0, 0}, '\0' };
// empty C style string: points to 'string data' byte of g_strEmpty
// ----------------------------------------------------------------------------
// conditional compilation
// ----------------------------------------------------------------------------
// conditional compilation
// poor man's iterators are "void *" pointers
wxString::wxString(const void *pStart, const void *pEnd)
// poor man's iterators are "void *" pointers
wxString::wxString(const void *pStart, const void *pEnd)
// NB: GNU libc5 wcstombs() is completely broken, don't use it (it doesn't
// honor the 3rd parameter, thus it will happily crash here).
// NB: GNU libc5 wcstombs() is completely broken, don't use it (it doesn't
// honor the 3rd parameter, thus it will happily crash here).
memmove(m_pchData, psz, (nDataLength + 1)*sizeof(char));
GetStringData()->nDataLength = nDataLength;
}
memmove(m_pchData, psz, (nDataLength + 1)*sizeof(char));
GetStringData()->nDataLength = nDataLength;
}
// ---------------------------------------------------------------------------
// standard C++ library string functions
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// standard C++ library string functions
// ---------------------------------------------------------------------------