diff options
| author | Damien George <damien.p.george@gmail.com> | 2015-10-12 00:06:25 +0100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2015-10-12 00:06:25 +0100 |
| commit | 0334058fa43a8ac7c689007f5824510c2927c5cc (patch) | |
| tree | 0abd0f6efd70aa922d0cb14a8c06c38bc957b276 /CODECONVENTIONS.md | |
| parent | 6206f431cf50741f633762dac185421e4c4f1a0d (diff) | |
Rename "Micro Python" to "MicroPython" in REPL, help, readme's and misc.
Diffstat (limited to 'CODECONVENTIONS.md')
| -rw-r--r-- | CODECONVENTIONS.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CODECONVENTIONS.md b/CODECONVENTIONS.md index 11cb114a9..951adee91 100644 --- a/CODECONVENTIONS.md +++ b/CODECONVENTIONS.md @@ -41,12 +41,12 @@ Names: - Use CAPS_WITH_UNDERSCORE for enums and macros. - When defining a type use underscore_case and put '_t' after it. -Integer types: Micro Python runs on 16, 32, and 64 bit machines, so it's +Integer types: MicroPython runs on 16, 32, and 64 bit machines, so it's important to use the correctly-sized (and signed) integer types. The general guidelines are: - For most cases use mp_int_t for signed and mp_uint_t for unsigned integer values. These are guaranteed to be machine-word sized and - therefore big enough to hold the value from a Micro Python small-int + therefore big enough to hold the value from a MicroPython small-int object. - Use size_t for things that count bytes / sizes of objects. - You can use int/uint, but remember that they may be 16-bits wide. |
