Skip to content

How do you iterate over a map with the C API? #1190

Open
@thommcgrath

Description

@thommcgrath

I see wrenGetMapCount for finding the number of items in a map, and wrenGetMapValue for getting a value into a slot using another slot, but I don't see any way to get a list of keys for a map so that I can actually use wrenGetMapValue. It seems like the C API only allows me to get map values that I already know ahead of time. Am I missing a function that would help with this task?

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