Skip to content

RFC: Cleaning up macro naming, possibly switch to inline functions #293

Closed
@pfalcon

Description

@pfalcon

This is to capture #269 (comment) and following discussion.

Summary:

  1. Macros with THEIR CAPS break continuity in API. Suggested fix: downcase names of macros which are part of mp_obj_* API.
  2. As an extra step, consider leveraging C99 inline functions - both to replace macros and have inlinability guarantees for speed-critical accessors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature requests, new feature implementations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions