Skip to content

Support fine-grained visibility in printf.c #63

@eyalroz

Description

@eyalroz

By default, the API (defined in the README) is visible out of printf.c (and exposed in printf.h), and auxiliary functions are invisible (static). However, it is conceivable that users of this library may want:

  • Everything static - for the case of #include "printf.c".
  • the default described above
  • Everything visible (extern) - when writing printf-ish code which can stand to use our innards (for some reason...)

we could support this, e.g. similarly to how nanoprintf does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions