Skip to content

Latest commit

 

History

History
31 lines (27 loc) · 1.39 KB

CONTRIBUTING.md

File metadata and controls

31 lines (27 loc) · 1.39 KB

Contributions are welcome.

The public git repository can be found on http://github.com/wraith/wraith

Guides

There's two options for submitting patches:

Guidelines

  • Please stick to the coding style found in the files.
  • No tabs
  • 2 spaces indented for each level
  • Braces on the same line as if', else', functions, etc.
  • Avoid non-portable code
  • No ASM
  • Comment all changes which are not clear
  • No change should introduce warnings into the normal or debug compiling.
  • Use strlcpy,strlcat,snprintf,strdup
  • Do not allocate large buffers on the stack (char x[4096] = "")
  • Avoid excessive use of strlen(), cache your values when possible.
  • Use very little C++ additions. (Adds too much overhead since most of the code is using c stdlib)
  • Avoid all STL.
  • Do not use exceptions
  • No RTTI
  • Communicate with other developers in #wraith on EFnet.