mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 08:42:13 +00:00
534ac9e360
I opted to go with what I perceived as the more expedient route of leaving lz4 roughly where it is and just adding to that. The biggest complication was xxhash, which is included elsewhere. I'm not generally proficient with build-related things though so my solution may be wrong and not just ugly. Differential Revision: https://phabricator.services.mozilla.com/D30640 --HG-- rename : mfbt/lz4.c => mfbt/lz4/lz4.c rename : mfbt/lz4.h => mfbt/lz4/lz4.h extra : moz-landing-system : lando
12 lines
629 B
Plaintext
12 lines
629 B
Plaintext
MFBT uses standard Mozilla style, with the following exceptions.
|
|
|
|
- Some of the files use a lower-case letter at the start of function names.
|
|
This is because MFBT used to use a different style, and was later converted
|
|
to standard Mozilla style. These functions have not been changed to use an
|
|
upper-case letter because it would cause a lot of churn in other parts of the
|
|
codebase. However, new files should follow standard Mozilla style and use an
|
|
upper-case letter at the start of function names.
|
|
|
|
- Imported third-party code (such as decimal/*, double-conversion/source/*, and
|
|
lz4/*) remains in its original style.
|