-
-
Notifications
You must be signed in to change notification settings - Fork 424
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
Fix indentation in c extension #488
Fix indentation in c extension #488
Conversation
@orbitfold I hope the settings i used implement the right indentation sheme. If there is anything wrong, i'll fix it. |
So coverage decreased by 0.0%? Nice catch coveralls! |
@orbitfold - is this in line with our c-conventions? @yeganer - this needs a rebase. |
I'll look in to it shortly. |
{ | ||
imin = imid; | ||
} | ||
imid = (imin + imax)>>1; |
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.
There should be spaces after and before the bitshift operator.
@yeganer - rebase. |
Applied the GNU C coding convention to most files in the c extension. The following settings were used with vim: setlocal cindent setlocal cinoptions=>4,n-2,{2,^-2,:2,=2,g0,h2,p5,t0,+2,(0,u0,w1,m1 setlocal sw=2 setlocal sts=2 setlocal tw=79 setlocal fo-=ro fo +=cql
7bdc93f
to
87ef34a
Compare
@wkerzendorf : done. Including fix for bitshift. |
@orbitfold @unoebauer any other comments - otherwise I'll merge after lunch. |
Fine with me |
Fix indentation in c extension
Applied the GNU C coding convention to most files in the c extension.
The following settings were used with vim: