zpl-c / enet

⚡️ ENet reliable UDP networking library

Home Page:https://blog.zpl.pw

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve code style consistency

OptoCloud opened this issue · comments

Different code styles are scattered troughout the library

void someFunc() {
  if (somCond) {
  }
}

void someSecondFunc()
{
  if (somCond) {
  }
}

void someThirdFunc() {
  if (somCond)
  {
  }
}

More inline documentation would be nice as well

@OptoCloud one solution is to use clang-format to enforce a standard. Although it will cause a lot of churn within the library.