Everywhere: Update to clang-format 20
This commit is contained in:
parent
402d802d2f
commit
e7d8b456aa
9 changed files with 19 additions and 38 deletions
|
@ -35,8 +35,7 @@ class @clipboard
|
|||
U0 (*Init)();
|
||||
U0 (*Insert)(I64 type, U8* data);
|
||||
I64 (*Length)();
|
||||
U0(*Task)
|
||||
();
|
||||
U0 (*Task)();
|
||||
};
|
||||
|
||||
@clipboard Clipboard;
|
||||
|
|
|
@ -12,10 +12,8 @@ U0 @function_patch(U32 from, U32 to)
|
|||
|
||||
class @function
|
||||
{
|
||||
U0(*InsertCall)
|
||||
(U32 from, U32 to);
|
||||
U0(*Patch)
|
||||
(U32 from, U32 to);
|
||||
U0 (*InsertCall)(U32 from, U32 to);
|
||||
U0 (*Patch)(U32 from, U32 to);
|
||||
};
|
||||
|
||||
@function Function;
|
||||
|
|
|
@ -1558,10 +1558,8 @@ class @graphics2d
|
|||
Context2D* fb;
|
||||
|
||||
Context2D* (*FrameBufferContext2D)();
|
||||
U0(*Init)
|
||||
();
|
||||
U0(*Flip)
|
||||
(Context2D * ctx);
|
||||
U0 (*Init)();
|
||||
U0 (*Flip)(Context2D* ctx);
|
||||
I64 qwords;
|
||||
};
|
||||
|
||||
|
|
|
@ -149,8 +149,7 @@ U0 @string_trim(U8* s, U8 ch = NULL, I64 mode = TRIM_BOTH)
|
|||
|
||||
class @string
|
||||
{
|
||||
U0(*Append)
|
||||
(U8 * dst, U8 * fmt, ...);
|
||||
U0 (*Append)(U8* dst, U8* fmt, ...);
|
||||
Bool (*BeginsWith)(U8* fragment, U8* str);
|
||||
Bool (*EndsWith)(U8* fragment, U8* str);
|
||||
Bool (*IsNumber)(U8* s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue