File: HACKING.md

package info (click to toggle)
libssh2 1.11.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,504 kB
  • sloc: ansic: 46,104; sh: 6,164; makefile: 348; cpp: 120; perl: 65; lisp: 33; awk: 23
file content (14 lines) | stat: -rw-r--r-- 267 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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