mirror of
https://github.com/libssh2/libssh2.git
synced 2025-11-05 09:30:35 +03:00
- `libssh2.rc`: document language/codepage codes. Ref: https://learn.microsoft.com/windows/win32/intl/code-page-identifiers - convert to Markdown: `docs/BINDINGS`, `docs/HACKING` Blind update for `vms/libssh2_make_help.dcl`. Please double-check. - cmake: fix to recognize dash-style warning options (`-Wn`) with MSVC. - `NMakefile`: sync `rd` command with `Makefile.mk`. - delete a CVS header. - cmake: simplify a `LIBSSH2_HAVE_ZLIB` macro. - few other nits and whitespace mods. Closes #943
15 lines
267 B
Markdown
15 lines
267 B
Markdown
# 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
|