Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
b85bf25e
Commit
b85bf25e
authored
Jun 18, 2015
by
Paul Sokolovsky
Browse files
CODECONVENTIONS.md: 16-bit ports exist now.
parent
2474c2ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
CODECONVENTIONS.md
View file @
b85bf25e
...
...
@@ -39,9 +39,9 @@ Header files:
Type names and declarations:
-
When defining a type, put '_t' after it.
Integer types: Micro Python runs on 32 and 64 bit machines
(and one day
maybe 16 bit), so it's
important to use the correctly-sized (and signed)
integer types. The
general guidelines are:
Integer types: Micro Python 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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment