summaryrefslogtreecommitdiffstatshomepage
path: root/py/mpconfig.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-02-09 13:29:20 +0000
committerDamien George <damien.p.george@gmail.com>2016-02-09 13:29:20 +0000
commit3e02b1d19a4b1fb36ee36b0d43144bad6b797f2f (patch)
tree5545397c4105c818838c6b18c664b4f82f77cb56 /py/mpconfig.h
parent9e78ab4b866c8bc4cf8b1bc21b848aadc64097cb (diff)
downloadmicropython-3e02b1d19a4b1fb36ee36b0d43144bad6b797f2f.tar.gz
micropython-3e02b1d19a4b1fb36ee36b0d43144bad6b797f2f.zip
py/viper: Allow casting of Python integers to viper pointers.
This allows you to pass a number (being an address) to a viper function that expects a pointer, and also allows casting of integers to pointers within viper functions. This was actually the original behaviour, but it regressed due to native type identifiers being promoted to 4 bits in width.
Diffstat (limited to 'py/mpconfig.h')
0 files changed, 0 insertions, 0 deletions