mirror of
https://github.com/projectPiki/pikmin2.git
synced 2024-11-27 07:10:42 +00:00
Edit format document
This commit is contained in:
parent
e6938f6330
commit
5811bc0d0f
@ -10,3 +10,8 @@ TabWidth: 4
|
||||
UseTab: ForIndentation
|
||||
SortIncludes: false
|
||||
AlignConsecutiveMacros: true
|
||||
AlignEscapedNewlines: Left
|
||||
AlignOperands: true
|
||||
AllowShortIfStatementsOnASingleLine: Never
|
||||
Cpp11BracedListStyle: false
|
||||
Language: Cpp
|
@ -20,7 +20,7 @@ void* __va_arg(va_list, int);
|
||||
|
||||
#define va_start(ARG, VA_LIST) ((void)ARG, __builtin_va_info(&VA_LIST))
|
||||
#define va_end(VA_LIST) ((void)VA_LIST)
|
||||
#define va_arg(VA_LIST, ARG_TYPE) \
|
||||
#define va_arg(VA_LIST, ARG_TYPE) \
|
||||
(*(ARG_TYPE*)) __va_arg(VA_LIST, _var_arg_typeof(ARG_TYPE))
|
||||
|
||||
int printf(const char*, ...);
|
||||
|
@ -12,8 +12,8 @@ struct JUTException {
|
||||
static OSMessageQueue sMessageQueue;
|
||||
};
|
||||
|
||||
#define JUT_ASSERT(cond, string_ref) \
|
||||
if (!(cond)) \
|
||||
#define JUT_ASSERT(cond, string_ref) \
|
||||
if (!(cond)) \
|
||||
JUTException::panic_f(__FILE__, __LINE__, string_ref)
|
||||
|
||||
#define P2ASSERT_BROKEN(cond) JUT_ASSERT(cond, nullptr)
|
||||
|
Loading…
Reference in New Issue
Block a user