mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
docs/abi-spec.rst: There are 256 possible values for uint8 enums
This commit is contained in:
parent
bc85439576
commit
cfc878f8a5
@ -111,7 +111,7 @@ them.
|
|||||||
+-------------------------------+-----------------------------------------------------------------------------+
|
+-------------------------------+-----------------------------------------------------------------------------+
|
||||||
|:ref:`enum<enums>` |smallest ``uint`` type that is large enough to hold all values |
|
|:ref:`enum<enums>` |smallest ``uint`` type that is large enough to hold all values |
|
||||||
| | |
|
| | |
|
||||||
| |For example, an ``enum`` of 255 values or less is mapped to ``uint8`` and |
|
| |For example, an ``enum`` of 256 values or less is mapped to ``uint8`` and |
|
||||||
| |an ``enum`` of 256 values is mapped to ``uint16``. |
|
| |an ``enum`` of 256 values is mapped to ``uint16``. |
|
||||||
+-------------------------------+-----------------------------------------------------------------------------+
|
+-------------------------------+-----------------------------------------------------------------------------+
|
||||||
|:ref:`struct<structs>` |``tuple`` |
|
|:ref:`struct<structs>` |``tuple`` |
|
||||||
|
Loading…
Reference in New Issue
Block a user