LMMS
Loading...
Searching...
No Matches
ftypes.h File Reference
#include "fplatform.h"

Go to the source code of this file.

Namespaces

namespace  Steinberg

Macros

#define UNICODE   1
#define _UNICODE   1
#define SWAP_32(l)
#define SWAP_16(w)
#define SWAP_64(i)
#define SMTG_ALWAYS_INLINE   inline
#define SMTG_NEVER_INLINE

Typedefs

typedef char Steinberg::int8
typedef unsigned char Steinberg::uint8
typedef unsigned char Steinberg::uchar
typedef short Steinberg::int16
typedef unsigned short Steinberg::uint16
typedef int Steinberg::int32
typedef unsigned int Steinberg::uint32
typedef long long Steinberg::int64
typedef unsigned long long Steinberg::uint64
typedef int64 Steinberg::TSize
typedef int32 Steinberg::tresult
typedef uint32 Steinberg::TPtrInt
typedef uint8 Steinberg::TBool
typedef char Steinberg::char8
typedef int16 Steinberg::char16
typedef char16 Steinberg::tchar
typedef const char8Steinberg::CStringA
typedef const char16Steinberg::CStringW
typedef const tcharSteinberg::CString
typedef const char8Steinberg::FIDString
typedef int32 Steinberg::UCoord

Functions

bool Steinberg::strEmpty (const tchar *str)
bool Steinberg::str8Empty (const char8 *str)
bool Steinberg::str16Empty (const char16 *str)
static void Steinberg::FSwap (int8 &)
static void Steinberg::FSwap (uint8 &)
static void Steinberg::FSwap (int16 &i16)
static void Steinberg::FSwap (uint16 &i16)
static void Steinberg::FSwap (int32 &i32)
static void Steinberg::FSwap (uint32 &i32)
static void Steinberg::FSwap (int64 &i64)
static void Steinberg::FSwap (uint64 &i64)

Variables

static const int32 Steinberg::kMaxLong = 0x7fffffff
static const int32 Steinberg::kMinLong = (-0x7fffffff - 1)
static const int32 Steinberg::kMaxInt32 = kMaxLong
static const int32 Steinberg::kMinInt32 = kMinLong
static const uint32 Steinberg::kMaxInt32u = 0xffffffff
static const int64 Steinberg::kMaxInt64 = 0x7fffffffffffffffLL
static const int64 Steinberg::kMinInt64 = (-0x7fffffffffffffffLL-1)
static const uint64 Steinberg::kMaxInt64u = uint64 (0xffffffff) | (uint64 (0xffffffff) << 32)
static const float Steinberg::kMaxFloat = 3.40282346638528860E38
static const double Steinberg::kMaxDouble = 1.7976931348623158E308
const FIDString Steinberg::kPlatformStringWin = "WIN"
const FIDString Steinberg::kPlatformStringMac = "MAC"
const FIDString Steinberg::kPlatformStringIOS = "IOS"
const FIDString Steinberg::kPlatformStringLinux = "Linux"
static const UCoord Steinberg::kMaxCoord = ((UCoord)0x7FFFFFFF)
static const UCoord Steinberg::kMinCoord = ((UCoord)-0x7FFFFFFF)

Macro Definition Documentation

◆ _UNICODE

#define _UNICODE   1

◆ SMTG_ALWAYS_INLINE

#define SMTG_ALWAYS_INLINE   inline

◆ SMTG_NEVER_INLINE

#define SMTG_NEVER_INLINE

◆ SWAP_16

#define SWAP_16 ( w)
Value:
{ \
unsigned char* p = (unsigned char*)& (w); \
unsigned char t; \
t = p[0]; p[0] = p[1]; p[1] = t; }
UINT_D64 w
Definition inflate.c:942
struct huft * t
Definition inflate.c:943
uch * p
Definition crypt.c:594

◆ SWAP_32

#define SWAP_32 ( l)
Value:
{ \
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; }
int * l
Definition inflate.c:1579

Byte-order Conversion Macros

◆ SWAP_64

#define SWAP_64 ( i)
Value:
{ \
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;}
register unsigned i
Definition inflate.c:1575

◆ UNICODE

#define UNICODE   1