Version

    Autre Documentation

menu_open
#define CONVERT_WIDE_TO_OSCHAR ( _wstring_,
_oscharstring_   )     ( _oscharstring_ ) = (AkOSChar*)( _wstring_ )

Converts a wchar_t string to an AkOSChar string.

Remarks:
On some platforms the AkOSChar string simply points to the same string, on others a new buffer is allocated on the stack using AkAlloca. This means you must make sure that:
  • The source string stays valid and unmodified for as long as you need the AkOSChar string (for cases where they point to the same string)
  • The AkOSChar string is used within this scope only -- for example, do NOT return that string from a function (for cases where it is allocated on the stack)

Definition at line 477 of file AkPlatformFuncs.h.


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise