diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-09 19:55:33 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-09 19:55:33 +0100 |
commit | b5fbd0ba876b43d0f1d1d9af8dd556766bda553b (patch) | |
tree | 858468b318b2ad3f63c46add57796db729b003e7 /py/parsehelper.h | |
parent | d99944acddbce627e96326551e47dbf5b3ef5800 (diff) | |
download | micropython-b5fbd0ba876b43d0f1d1d9af8dd556766bda553b.tar.gz micropython-b5fbd0ba876b43d0f1d1d9af8dd556766bda553b.zip |
py: Add mp_obj_is_integer; make mp_get_index check for long int.
mp_obj_is_integer should be used to check if an object is of integral
type. It returns true for bool, small int and long int.
Diffstat (limited to 'py/parsehelper.h')
0 files changed, 0 insertions, 0 deletions