版本

menu_open

include/AK/Tools/Mac/AkPlatformFuncs.h文件参考

浏览该文件的源代码。

名字空间

namespace   AKPLATFORM

宏定义

#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.

函数

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 *))

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅