Firewolf edited this page Apr 23, 2016 · 18 revisions

Note: This wiki should not be updated, as we now have a generated documentation on each build. Check the releases tags and the commits to see what's done and what's not.

Naming conventions for libraries:

  • Every name is in lowerCamelCase.
  • Functions are in tables, there should not be any free function. Preferably declare a single table. You must use a local table that will be returned at the end of the library for consistency.
  • system table must not exist. Use os instead.

Conventions for the C functions:

  • If a function may fail, it must return an object or true on success.
  • If the function should return an object, it must return nil and an error code in case of error.
  • If the function should return true, it must return false and an error code in case of error.
  • This is from 358b68c
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.