Style: Apply new clang-format 5.0 style to all files
This commit is contained in:
parent
a8ceb7e3f2
commit
13c2ff9320
199 changed files with 954 additions and 875 deletions
|
|
@ -159,8 +159,8 @@ Error decode_variant(Variant &r_variant, const uint8_t *p_buffer, int p_len, int
|
|||
r_variant = str;
|
||||
|
||||
} break;
|
||||
// math types
|
||||
|
||||
// math types
|
||||
case Variant::VECTOR2: {
|
||||
|
||||
ERR_FAIL_COND_V(len < (int)4 * 2, ERR_INVALID_DATA);
|
||||
|
|
@ -959,8 +959,8 @@ Error encode_variant(const Variant &p_variant, uint8_t *r_buffer, int &r_len, bo
|
|||
_encode_string(p_variant, buf, r_len);
|
||||
|
||||
} break;
|
||||
// math types
|
||||
|
||||
// math types
|
||||
case Variant::VECTOR2: {
|
||||
|
||||
if (buf) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue