Skip to content

Machine-readable description of the C API #7

Open
@encukou

Description

@encukou

(This issue was originally “The C Language”, but discussion focused on one sub-issue, so it was re-purposed. See #35 for C.)


Information about the C API is only available in the headers. Those can generally only be parsed with a C compiler, which presents a problem for bindings to other languages (and even ctypes users), who generally resort to either

  • copying the info by hand, or
  • using a C binding generator (those can only parse a subset of C, and usually it's some undefined subset. It's not feasible to limit CPython to all the relevant subsets.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions