Everywhere: Update to clang-format 20

This commit is contained in:
Alec Murphy 2025-04-19 07:31:54 -04:00
parent 402d802d2f
commit e7d8b456aa
9 changed files with 19 additions and 38 deletions

View file

@ -35,8 +35,7 @@ class @clipboard
U0 (*Init)();
U0 (*Insert)(I64 type, U8* data);
I64 (*Length)();
U0(*Task)
();
U0 (*Task)();
};
@clipboard Clipboard;

View file

@ -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;

View file

@ -1558,10 +1558,8 @@ class @graphics2d
Context2D* fb;
Context2D* (*FrameBufferContext2D)();
U0(*Init)
();
U0(*Flip)
(Context2D * ctx);
U0 (*Init)();
U0 (*Flip)(Context2D* ctx);
I64 qwords;
};

View file

@ -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);