diff options
author | Damien George <damien.p.george@gmail.com> | 2016-02-09 13:29:20 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-02-09 13:29:20 +0000 |
commit | 3e02b1d19a4b1fb36ee36b0d43144bad6b797f2f (patch) | |
tree | 5545397c4105c818838c6b18c664b4f82f77cb56 /py/mpz.h | |
parent | 9e78ab4b866c8bc4cf8b1bc21b848aadc64097cb (diff) | |
download | micropython-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/mpz.h')
0 files changed, 0 insertions, 0 deletions