OMNI_STR_WIDEN
MACRO

OMNI_STR_WIDEN - A helper macro used to 'widen' strings.

SYNOPSIS top

A helper macro used to 'widen' strings based on Unicode definitions (if non-Unicode build this expands to the value passed in)

DESCRIPTION top

If the OMNI_UNICODE flag is defined this helper macro will expand string literal values to their 'wide' representation. That is to say that OMNI_STR_WIDEN("Some character string") will expand to L"Some character string" if the OMNI_UNICODE flag is defined at compile time, otherwise it expands to the value passed to the macro ("Some character string" in this example).

To use a shortened version of this macro, you can use OMNI_STRW.

CONSIDERATIONS top

No special consideration.

PLATFORM SPECIFIC top

No special consideration.

NOTES top

None.