-
Notifications
You must be signed in to change notification settings - Fork 486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(binding/C): add clang-format for c binding #2003
Conversation
Signed-off-by: Ji-Xinyou <[email protected]>
* Format all C source code and headers using clang-format Signed-off-by: Ji-Xinyou <[email protected]>
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 <[email protected]>
9a8524a
to
1b5050b
Compare
Signed-off-by: Ji-Xinyou <[email protected]>
Signed-off-by: Ji-Xinyou <[email protected]>
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