mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
8739f7fccb
Rules: 1. Constants are uppercase names: THE_CONSTANT. 2. SUE[1] types start with an uppercase letter and have at least one lowercase letter in it: The_Type, THE_Type. 3. Function types end in "_cb": tox_friend_connection_cb. 4. Variable and function names are all lowercase: the_function. This makes it easier for humans reading the code to determine what an identifier means. I'm not convinced by the enum type name change, but I don't know a better rule. Currently, a lot of enum types are spelled like constants, which is confusing. [1] struct/union/enum |
||
---|---|---|
.. | ||
crypto_pwhash_scryptsalsa208sha256 | ||
BUILD.bazel | ||
defines.h | ||
Makefile.inc | ||
toxencryptsave.api.h | ||
toxencryptsave.c | ||
toxencryptsave.h |