[SOLVED]why is there no mp_obj type for small int?

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
jickster
Posts: 614
Joined: Thu Sep 07, 2017 8:57 pm

Re: why is there no mp_obj type for small int?

Post by jickster » Wed Apr 18, 2018 2:31 am

stijn wrote:Well, yes, but like Dave says: just like functions wanting a qstr take a qstr and not a pointer-sized type, functions wanting an int use mp_int_t. Or maybe I'm missing the point.

mp_int_t is not an MP OBJ.


Sent from my iPhone using Tapatalk

User avatar
dhylands
Posts: 3067
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: why is there no mp_obj type for small int?

Post by dhylands » Wed Apr 18, 2018 5:56 am

Neither is a qstr

Post Reply