#include "fplatform.h"Namespaces | |
| namespace | Steinberg |
Defines | |
| #define | UNICODE 1 |
| #define | _UNICODE 1 |
| #define | SWAP_32(l) |
| Byte-order Conversion Macros. | |
| #define | SWAP_16(w) |
| #define | SWAP_64(i) |
| #define | SMTG_ALWAYS_INLINE inline |
Typedefs | |
| typedef char | int8 |
| typedef unsigned char | uint8 |
| typedef unsigned char | uchar |
| typedef short | int16 |
| typedef unsigned short | uint16 |
| typedef long | int32 |
| typedef unsigned long | uint32 |
| typedef long long | int64 |
| typedef unsigned long long | uint64 |
| typedef int64 | TSize |
| typedef int32 | tresult |
| typedef uint32 | TPtrInt |
| typedef uint8 | TBool |
| typedef char | char8 |
| typedef uint16 | char16 |
| typedef char16 | char |
| typedef const char8 * | CStringA |
| typedef const char16 * | CStringW |
| typedef const char * | CString |
| typedef const char8 * | FIDString |
| typedef int32 | UCoord |
| Coordinates. | |
Functions | |
| bool | strEmpty (const char *str) |
| bool | str8Empty (const char8 *str) |
| bool | str16Empty (const char16 *str) |
Variables | |
| const FIDString | kPlatformStringWin = "WIN" |
| const FIDString | kPlatformStringMac = "MAC" |
| const FIDString | kPlatformStringIOS = "IOS" |
| #define UNICODE 1 |
| #define _UNICODE 1 |
| #define SWAP_32 | ( | l | ) |
{ \
unsigned char* p = (unsigned char*)& (l); \
unsigned char t; \
t = p[0]; p[0] = p[3]; p[3] = t; t = p[1]; p[1] = p[2]; p[2] = t; }
Byte-order Conversion Macros.
| #define SWAP_16 | ( | w | ) |
{ \
unsigned char* p = (unsigned char*)& (w); \
unsigned char t; \
t = p[0]; p[0] = p[1]; p[1] = t; }
| #define SWAP_64 | ( | i | ) |
{ \
unsigned char* p = (unsigned char*)& (i); \
unsigned char t; \
t = p[0]; p[0] = p[7]; p[7] = t; t = p[1]; p[1] = p[6]; p[6] = t; \
t = p[2]; p[2] = p[5]; p[5] = t; t = p[3]; p[3] = p[4]; p[4] = t;}
| #define SMTG_ALWAYS_INLINE inline |