Skip to content

API inconsistency with data segments #6247

@ericvergnaud

Description

@ericvergnaud

Segments used for memory initialization do not have a name.
However, APIs that load data from segments require a segment name.
That "name" is actually the textual form of the 0-based segment index.
That makes the API misleading. Why not have the API receive the segment index instead ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions