clang-format

This commit is contained in:
2025-02-27 16:40:36 +08:00
parent 282b17d7ca
commit 599547e1ae
10 changed files with 347 additions and 103 deletions

View File

@@ -40,8 +40,10 @@ ipc_write_string(void* ipc, const char* str);
void
ipc_read_string(void* ipc, char* str);
#define _IPC_WRITE_FN_NAME(type) void ipc_write_ ## type (void* ipc, const type * data, size_t count)
#define _IPC_READ_FN_NAME(type) void ipc_read_ ## type (void* ipc, type * data, size_t count)
#define _IPC_WRITE_FN_NAME(type) \
void ipc_write_##type(void* ipc, const type* data, size_t count)
#define _IPC_READ_FN_NAME(type) \
void ipc_read_##type(void* ipc, type* data, size_t count)
_IPC_WRITE_FN_NAME(char);
_IPC_WRITE_FN_NAME(int);