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 |
||
---|---|---|
.. | ||
analysis | ||
astyle | ||
bootstrap_daemon | ||
docker/windows | ||
fun | ||
pkgconfig | ||
rpm | ||
travis | ||
bootstrap_node_packets.c | ||
bootstrap_node_packets.h | ||
BUILD.bazel | ||
cpufeatures.c | ||
DHT_bootstrap.c | ||
DHTnodes | ||
Makefile.inc | ||
monolith.h | ||
osx_build_script_toxcore.sh | ||
tox-warning.png | ||
tox.png | ||
version-sync |