1. 20 Dec, 2018 2 commits
    • Paul Sokolovsky's avatar
      py/gc: Adjust gc_alloc() signature to be able to accept multiple flags. · 5ed578e5
      Paul Sokolovsky authored
      The older "bool has_finaliser" gets recast as GC_ALLOC_FLAG_HAS_FINALISER=1
      so this is a backwards compatible change to the signature.  Since bool gets
      implicitly converted to 1 this patch doesn't include conversion of all
      calls.
      5ed578e5
    • Paul Sokolovsky's avatar
      py/objarray: Introduce "memview_offset" alias for "free" field of object · a261d8b6
      Paul Sokolovsky authored
      Both mp_type_array and mp_type_memoryview use the same object structure,
      mp_obj_array_t, but for the case of memoryview, some fields, e.g. "free",
      have different meaning.  As the "free" field is also a bitfield, assume
      that (anonymous) union can't be used here (for the concerns of possible
      compatibility issues with wide array of toolchains), and just add a field
      alias using a #define.  As it's a define, it should be a selective
      identifier, so use verbose "memview_offset" to avoid any clashes.
      a261d8b6
  2. 15 Dec, 2018 3 commits
  3. 13 Dec, 2018 2 commits
  4. 12 Dec, 2018 9 commits
  5. 10 Dec, 2018 18 commits
  6. 07 Dec, 2018 2 commits
  7. 06 Dec, 2018 4 commits