File: HACKING

package info (click to toggle)
libssh2 1.7.0-1%2Bdeb9u1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 5,992 kB
  • sloc: ansic: 29,774; sh: 12,232; makefile: 362; awk: 23
file content (13 lines) | stat: -rw-r--r-- 267 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13

libssh2 source code style guide:

 - 4 level indent
 - spaces-only (no tabs)
 - open braces on the if/for line:

     if (banana) {
         go_nuts();
     }

 - keep source lines shorter than 80 columns
 - See libssh2-style.el for how to achieve this within Emacs