Version

menu_open

include/AK/Tools/Mac/AkPlatformFuncs.h File Reference

Go to the source code of this file.

Namespaces

namespace   AKPLATFORM

Defines

#define  CONVERT_UTF16_TO_WCHAR(_astring_, _wcharstring_)
#define  CONVERT_WCHAR_TO_UTF16(_astring_, _utf16string_)
#define  CONVERT_OSCHAR_TO_UTF16(_astring_, _utf16string_)
#define  CONVERT_UTF16_TO_OSCHAR(_astring_, _oscharstring_)
#define  AK_UTF16_TO_WCHAR(in_pdDest, in_pSrc, in_MaxSize)   AKPLATFORM::AkMacConvertString<wchar_t, AkUtf16>( in_pdDest, in_pSrc, in_MaxSize, &wcslen , &AKPLATFORM::AkUtf16StrLen)
#define  AK_WCHAR_TO_UTF16(in_pdDest, in_pSrc, in_MaxSize)   AKPLATFORM::AkMacConvertString<AkUtf16, wchar_t>( in_pdDest, in_pSrc, in_MaxSize, &AKPLATFORM::AkUtf16StrLen, &wcslen )
#define  AK_UTF16_TO_OSCHAR(in_pdDest, in_pSrc, in_MaxSize)   AKPLATFORM::AkMacConvertString<AkOSChar, AkUtf16>( in_pdDest, in_pSrc, in_MaxSize, strlen, AKPLATFORM::AkUtf16StrLen )
#define  AK_UTF16_TO_CHAR(in_pdDest, in_pSrc, in_MaxSize)   AKPLATFORM::AkMacConvertString<char, AkUtf16>( in_pdDest, in_pSrc, in_MaxSize, strlen, AKPLATFORM::AkUtf16StrLen )
#define  AK_CHAR_TO_UTF16(in_pdDest, in_pSrc, in_MaxSize)   AKPLATFORM::AkMacConvertString<AkUtf16, char>( in_pdDest, in_pSrc, in_MaxSize, AKPLATFORM::AkUtf16StrLen, strlen)
#define  AK_OSCHAR_TO_UTF16(in_pdDest, in_pSrc, in_MaxSize)   AKPLATFORM::AkMacConvertString<AkUtf16, AkOSChar>( in_pdDest, in_pSrc, in_MaxSize, AKPLATFORM::AkUtf16StrLen, strlen)
#define  AkAlloca(_size_)   alloca( _size_ )
  Stack allocations.

Functions

size_t  AKPLATFORM::AkUtf16StrLen (const AkUtf16 *in_pStr)
void  AKPLATFORM::AkClearEvent (AkEvent &out_event)
  Platform Independent Helper.
AKRESULT  AKPLATFORM::AkCreateEvent (AkEvent &out_event)
  Platform Independent Helper.
AKRESULT  AKPLATFORM::AkCreateSemaphore (AkSemaphore &out_semaphore, AkUInt32 in_initialCount)
void  AKPLATFORM::AkDestroyEvent (AkEvent &io_event)
  Platform Independent Helper.
void  AKPLATFORM::AkDestroySemaphore (AkSemaphore &io_semaphore)
  Platform Independent Helper.
void  AKPLATFORM::AkWaitForEvent (AkEvent &in_event)
  Platform Independent Helper.
void  AKPLATFORM::AkWaitForSemaphore (AkSemaphore &in_semaphore)
void  AKPLATFORM::AkSignalEvent (const AkEvent &in_event)
  Platform Independent Helper.
void  AKPLATFORM::AkReleaseSemaphore (const AkSemaphore &in_event)
AkInt32  AKPLATFORM::AkInterlockedIncrement (AkAtomic32 *pValue)
  Platform Independent Helper.
AkInt32  AKPLATFORM::AkInterlockedDecrement (AkAtomic32 *pValue)
  Platform Independent Helper.
bool  AKPLATFORM::AkInterlockedCompareExchange (volatile AkAtomic32 *io_pDest, AkInt32 in_newValue, AkInt32 in_expectedOldVal)
bool  AKPLATFORM::AkInterlockedCompareExchange (volatile AkAtomic64 *io_pDest, AkInt64 in_newValue, AkInt64 in_expectedOldVal)
bool  AKPLATFORM::AkInterlockedCompareExchange (volatile AkAtomicPtr *io_pDest, AkIntPtr in_newValue, AkIntPtr in_expectedOldVal)
void  AKPLATFORM::AkMemoryBarrier ()
void  AKPLATFORM::PerformanceCounter (AkInt64 *out_piLastTime)
  Platform Independent Helper.
void  AKPLATFORM::PerformanceFrequency (AkInt64 *out_piFreq)
  Platform Independent Helper.
template<class destType , class srcType >
size_t  AKPLATFORM::AkMacConvertString (destType *in_pdDest, const srcType *in_pSrc, size_t in_MaxSize, size_t destStrLen(const destType *), size_t srcStrLen(const srcType *))

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise