|
OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Reliable platform independent header for common memory and string functions. More...
#include <owl/private/defs.h>#include <tchar.h>#include <memory.h>#include <string.h>#include <stdlib.h>#include <malloc.h>#include <owl/private/wsysinc.h>#include <owl/preclass.h>#include <owl/posclass.h>Go to the source code of this file.
Classes | |
| class | owl::TCharIterator< T > |
| class | owl::TBidirCharIterator< T > |
| class | owl::TTmpBufferBase |
| Static temporary fixed buffer, provides fast temporary buffer, for use in functions. More... | |
| class | owl::TTmpBuffer< T > |
Namespaces | |
| namespace | owl |
| Object Windows Library (OWLNext Core). | |
Macros | |
| #define | alloca _alloca |
| #define | OWL_USES_CONVERSION_ACP_INIT_ CP_ACP |
| #define | USES_CONVERSION |
| #define | OWLA2WHELPER OwlA2WHelper |
| #define | OWLW2AHELPER OwlW2AHelper |
| #define | A2W(lpa) |
| #define | A2WB(lpa, buf) |
| #define | W2A(lpw) |
| #define | W2AB(lpw, buf) |
| #define | A2CW(lpa) |
| #define | W2CA(lpw) |
| #define | A2CWB(lpa, buf) |
| #define | W2CAB(lpw, buf) |
| #define | _USES_CONVERSION |
| #define | _USES_CONVERSION_A USES_CONVERSION |
| #define | _W2A(lpw) |
| #define | _A2W(lpw) |
| #define | _W2AB(lpw, buf) |
| #define | _A2WB(lpw, buf) |
| #define | _W2A_A(lpw) |
| #define | _A2W_A(lpw) |
| #define | _W2A_AB(lpw, buf) |
| #define | _A2W_AB(lpw, buf) |
| #define | nstrnewdup strnewdup |
| #define | _WCHAR_T_DEFINED |
Typedefs | |
| typedef unsigned short | wchar_t |
Functions | |
| UINT | CharSize (const TCHAR *s) |
| Return the number of bytes of the first character of the passed string. | |
| TCHAR | CharUpper (TCHAR c) |
| TCHAR | CharLower (TCHAR c) |
| LPWSTR | OwlA2WHelper (LPWSTR lpw, LPCSTR lpa, int nChars, unsigned int acp) |
| LPSTR | OwlW2AHelper (LPSTR lpa, LPCWSTR lpw, int nChars, unsigned int acp) |
| LPWSTR | OwlA2WHelper (LPWSTR lpw, LPCSTR lpa, int nChars) |
| LPSTR | OwlW2AHelper (LPSTR lpa, LPCWSTR lpw, int nChars) |
| char * | strnewdup (const char *s, size_t minAllocSize=0) |
| wchar_t * | strnewdup (const wchar_t *s, size_t minAllocSize=0) |
Reliable platform independent header for common memory and string functions.
Definition in file memory.h.
| #define _A2W_A | ( | lpw | ) |
| #define _A2W_AB | ( | lpw, | |
| buf ) |
| #define _USES_CONVERSION_A USES_CONVERSION |
| #define _W2A_A | ( | lpw | ) |
| #define _W2A_AB | ( | lpw, | |
| buf ) |
| #define A2W | ( | lpa | ) |
| #define A2WB | ( | lpa, | |
| buf ) |
| #define OWLA2WHELPER OwlA2WHelper |
| #define OWLW2AHELPER OwlW2AHelper |
| #define USES_CONVERSION |
| #define W2A | ( | lpw | ) |
| #define W2AB | ( | lpw, | |
| buf ) |
Definition at line 59 of file memory.h.
References CharLower().
|
inline |
Return the number of bytes of the first character of the passed string.
Definition at line 56 of file memory.h.
References CharSize().
Definition at line 58 of file memory.h.
References CharUpper().
|
inline |
Definition at line 98 of file memory.h.
References OwlA2WHelper().
|
inline |
Definition at line 79 of file memory.h.
References OwlA2WHelper().
|
inline |
Definition at line 103 of file memory.h.
References OwlW2AHelper().
|
inline |
Definition at line 89 of file memory.h.
References OwlW2AHelper().
| char * strnewdup | ( | const char * | s, |
| size_t | minAllocSize = 0 ) |
Definition at line 25 of file memory.cpp.
References strnewdup().
Definition at line 69 of file memory.cpp.
References strnewdup(), and wcslen().