-
Notifications
You must be signed in to change notification settings - Fork 533
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
feat(binding/C): add clang-format for c binding #2003
Conversation
Signed-off-by: Ji-Xinyou <jerryji0414@outlook.com>
* Format all C source code and headers using clang-format Signed-off-by: Ji-Xinyou <jerryji0414@outlook.com>
Just two quick questions, 1. do we need |
When we enable CI for the c binding, we can add it.
If this file can have comments, please do so. |
d28e128
to
9a8524a
Compare
The licence header is added now. Then the format check should be done in future PRs related to binding CI. 😄 |
* Remove the space of assigning envvar in Makefile * Add `make format` command to format all "*.c" and ".h" file under the c binding directory Signed-off-by: Ji-Xinyou <jerryji0414@outlook.com>
9a8524a
to
1b5050b
Compare
Signed-off-by: Ji-Xinyou <jerryji0414@outlook.com>
Signed-off-by: Ji-Xinyou <jerryji0414@outlook.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thanks
make format
to format all .c and .h fileFixed: #1992