Skip to content

pairs() does not work for C# objects #17

@nrother

Description

@nrother

pairs() iterates over all key inside a tables. Since C# objects are userdata, pairs does not work. These is a metamethod called __pairs so it should might be possible to add support for pairs to C# objects.

The problem is, that such object are not modified by DynamicLua, maybe this change has to be done in NLua.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions