ptitSeb / box64

Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices

Home Page:https://box86.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Format the code

f1yby opened this issue · comments

Some of the code follow the format rule described in ./.clang-format, but others are not. Would you mind if I format the code, or should I submit a PR?

I'm not a big fan of automatic code formating tbh. I find it sometimes ruins manual formating done on purpose.

So you can create a PR, but not sure I'll accept it if I find it makes things less readable.

PR.
Note: The macro _DOIT defined in src/wrapped/wrappedlib_init.h use #, and the formation of the macro cause extra space around / and cause error when the macro is expanded, so I turned off the formation at this line.