summaryrefslogtreecommitdiff
path: root/py/compile.c
diff options
context:
space:
mode:
authorDavid Lechner <david@pybricks.com>2022-03-23 14:29:52 -0500
committerDamien George <damien@micropython.org>2022-03-25 12:23:43 +1100
commit768879f999f4739e8507ae6013b5e9271618656e (patch)
tree025fb58f3ee7465bdb234c1fc77f9ff3ed677a40 /py/compile.c
parente7f6b9f4f76142ecd554106984a8520a0ada9d03 (diff)
py/smallint: Introduce MP_SMALL_INT_BITS macro.
This adds a new MP_SMALL_INT_BITS macro that is a compile-time constant that contains the number of bits available in an MP_SMALL_INT. We can use this in place of the runtime function mp_small_int_bits(). Signed-off-by: David Lechner <david@pybricks.com>
Diffstat (limited to 'py/compile.c')
0 files changed, 0 insertions, 0 deletions