-
- Downloads
py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.
This allows the mp_obj_t type to be configured to something other than a pointer-sized primitive type. This patch also includes additional changes to allow the code to compile when sizeof(mp_uint_t) != sizeof(void*), such as using size_t instead of mp_uint_t, and various casts.
Showing
- extmod/modmachine.c 2 additions, 2 deletionsextmod/modmachine.c
- extmod/moductypes.c 24 additions, 24 deletionsextmod/moductypes.c
- extmod/moduhashlib.c 5 additions, 5 deletionsextmod/moduhashlib.c
- extmod/moduheapq.c 2 additions, 2 deletionsextmod/moduheapq.c
- extmod/modujson.c 1 addition, 1 deletionextmod/modujson.c
- extmod/modure.c 11 additions, 11 deletionsextmod/modure.c
- py/bc.c 3 additions, 3 deletionspy/bc.c
- py/bc.h 1 addition, 1 deletionpy/bc.h
- py/binary.c 3 additions, 3 deletionspy/binary.c
- py/builtinevex.c 7 additions, 7 deletionspy/builtinevex.c
- py/builtinimport.c 9 additions, 9 deletionspy/builtinimport.c
- py/emitbc.c 28 additions, 24 deletionspy/emitbc.c
- py/emitglue.c 5 additions, 5 deletionspy/emitglue.c
- py/gc.c 2 additions, 2 deletionspy/gc.c
- py/misc.h 1 addition, 1 deletionpy/misc.h
- py/modbuiltins.c 12 additions, 12 deletionspy/modbuiltins.c
- py/modstruct.c 2 additions, 2 deletionspy/modstruct.c
- py/modsys.c 9 additions, 9 deletionspy/modsys.c
- py/mpstate.h 1 addition, 1 deletionpy/mpstate.h
- py/nlr.h 4 additions, 4 deletionspy/nlr.h
Loading
Please register or sign in to comment