Skip to content

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

@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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy