Skip to content

File Config.h

Go to the source code of this file

Public Static Functions

Type Name
std::wstring am_string_widen (const std::string & str)
std::string am_wstring_narrow (const std::wstring & str)

Macros

Type Name
define AMPLITUDE_ASSERT (x) assert(x)
define AM_CALL_POLICY \_\_cdecl
define AM_ID_CHAR_FMT "%llu"
define AM_INLINE \_\_forceinline
define AM_LIB_EXPORT \_\_declspec(dllexport)
define AM_LIB_IMPORT \_\_declspec(dllimport)
define AM_LIB_PRIVATE static
define AM_NO_INLINE \_\_declspec(noinline)
define AM_OS_CHAR_FMT "%ls"
define AM_OS_STRING (s) L##s
define AM_OS_STRING_TO_STRING (s) am\_wstring\_narrow(s).c\_str()
define AM_RESTRICT \_\_restrict
define AM_STRING_TO_OS_STRING (s) am\_string\_widen(s).c\_str()
define AM_TYPE_ALIGN (_declaration_, _alignment_) \_\_declspec(align(\_alignment\_)) \_declaration\_
define AM_TYPE_ALIGN_SIMD (_declaration_) AM\_TYPE\_ALIGN(\_declaration\_, AM\_SIMD\_ALIGNMENT)
define AM_WCHAR_SUPPORTED
define NOMINMAX
define VC_EXTRALEAN
define WIN32_LEAN_AND_MEAN
define _AM_CORE_COMMON_PLATFORMS_WINDOWS_CONFIG_H

Public Static Functions Documentation

am_string_widen
static inline std::wstring am_string_widen (
    const std::string & str
) 
am_wstring_narrow
static inline std::string am_wstring_narrow (
    const std::wstring & str
) 

Macro Definition Documentation

AMPLITUDE_ASSERT
#define AMPLITUDE_ASSERT (
    x
) `assert(x)`
AM_CALL_POLICY
#define AM_CALL_POLICY `__cdecl`
AM_ID_CHAR_FMT
#define AM_ID_CHAR_FMT `"%llu"`
AM_INLINE
#define AM_INLINE `__forceinline`
AM_LIB_EXPORT
#define AM_LIB_EXPORT `__declspec(dllexport)`
AM_LIB_IMPORT
#define AM_LIB_IMPORT `__declspec(dllimport)`
AM_LIB_PRIVATE
#define AM_LIB_PRIVATE `static`
AM_NO_INLINE
#define AM_NO_INLINE `__declspec(noinline)`
AM_OS_CHAR_FMT
#define AM_OS_CHAR_FMT `"%ls"`
AM_OS_STRING
#define AM_OS_STRING (
    s
) `L##s`
AM_OS_STRING_TO_STRING
#define AM_OS_STRING_TO_STRING (
    s
) `am_wstring_narrow(s).c_str()`
AM_RESTRICT
#define AM_RESTRICT `__restrict`
AM_STRING_TO_OS_STRING
#define AM_STRING_TO_OS_STRING (
    s
) `am_string_widen(s).c_str()`
AM_TYPE_ALIGN
#define AM_TYPE_ALIGN (
    _declaration_,
    _alignment_
) `__declspec(align(_alignment_)) _declaration_`
AM_TYPE_ALIGN_SIMD
#define AM_TYPE_ALIGN_SIMD (
    _declaration_
) `AM_TYPE_ALIGN(_declaration_, AM_SIMD_ALIGNMENT)`
AM_WCHAR_SUPPORTED
#define AM_WCHAR_SUPPORTED 
NOMINMAX
#define NOMINMAX 
VC_EXTRALEAN
#define VC_EXTRALEAN 
WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 
_AM_CORE_COMMON_PLATFORMS_WINDOWS_CONFIG_H
#define _AM_CORE_COMMON_PLATFORMS_WINDOWS_CONFIG_H 

The documentation for this file was generated from the following file: include/SparkyStudios/Audio/Amplitude/Core/Common/Platforms/Windows/Config.h