mirror of
https://git.checksum.fail/alec/slon.git
synced 2025-12-08 03:59:56 +02:00
Meta: Run clang-format
This commit is contained in:
@@ -25,12 +25,9 @@ class TcpSocket {
|
||||
U64 send_buffer_filled;
|
||||
U64 send_buffer_kick; // We set this to 1 when we have data available to net,
|
||||
// Net sets back to 0 when ready to receive
|
||||
U0(*close)
|
||||
();
|
||||
U64(*receive)
|
||||
(U64 buf, U64 length);
|
||||
U0(*send)
|
||||
(U64 buf, U64 length);
|
||||
U0 (*close)();
|
||||
U64 (*receive)(U64 buf, U64 length);
|
||||
U0 (*send)(U64 buf, U64 length);
|
||||
};
|
||||
|
||||
class TcpBind {
|
||||
|
||||
@@ -76,8 +76,7 @@ class Elf {
|
||||
I64 symtab_size;
|
||||
};
|
||||
|
||||
U0(*_start)
|
||||
();
|
||||
U0 (*_start)();
|
||||
|
||||
U0 unimplemented_symbol()
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user