CTR Pia
4.11.3
Game Communication Engine
|
Assertions | |
#define | PIA_ASSERT (EXP) ((void)0) |
If EXP is false or NULL , the program quits. | |
#define | PIA_ASSERTMSG (EXP,...) ((void)0) |
If EXP is false or NULL , the program quits. | |
#define | PIA_COMPILE_ASSERT (EXP) |
If EXP is false or NULL , a compilation error results. | |
Panic | |
#define | PIA_PANIC (...) PIA_BASIC_HALT ( __VA_ARGS__) |
Quits the program. | |
Log Output | |
#define | PIA_CACHED_PRINTF (...) { } |
Caches console output. When no instance of CachedPrint has been generated, console output operates normally. | |
#define | PIA_CACHED_VPRINTF (format, varg) { (void)(format); (void)(varg); } |
Caches console output. When no instance of CachedPrint has been generated, console output operates normally. | |
Others | |
#define | NN_PIA_COMMON_SET_PROGRAM_INFORMATION () |
Defines a macro for registering the SDK and NEX versions being used by the application to the Pia library. | |
#define PIA_ASSERT | ( | EXP | ) | ((void)0) |
EXP
argument is false
or NULL
, the program quits. When you use this macro, all strings that you have output using the PIA_CACHED_PRINTF
macro are output from the cache. This macro is ignored in release builds. [in] | EXP | If this value is false or NULL , the program quits. |
#define PIA_ASSERTMSG | ( | EXP, | |
... | |||
) | ((void) 0) |
EXP
argument is false
or NULL
, the program quits. When you use this macro, all strings that you have output using the PIA_CACHED_PRINTF
macro are output from the cache. This macro is ignored in release builds. [in] | EXP | If this value is false or NULL , the program quits. |
[in] | ... | The arguments are the same as for the standard library's printf function. |
false
or NULL
. [in] | EXP | If this value is false or NULL , an abort is called, resulting in a compilation error. |
#define PIA_CACHED_PRINTF | ( | ... | ) | {} |
CachedPrint
has been generated, console output operates normally. [in] | ... | The arguments are the same as for the standard library's printf function. |
#define PIA_CACHED_VPRINTF | ( | format, | |
varg | |||
) | {(void)(format); (void)(varg);} |
CachedPrint
has been generated, console output operates normally. [in] | format | Specify the output format string. |
[in] | varg | Specify a variable argument list. |
#define PIA_PANIC | ( | ... | ) | PIA_BASIC_HALT(VA_ARGS) |
PIA_CACHED_PRINTF
macro are output from the cache. [in] | ... | The arguments are the same as for the standard library's printf function. |
#define NN_PIA_COMMON_SET_PROGRAM_INFORMATION | () |
common::Initialize
. NEX header files must be included before you access the constant representing the NEX version number.