Skip to content

QUESTION: Is ary_modify intended to be static? #1554

Description

@3miliano

I'm currently writing an extension for the Array class that adds the shuffle and shuffle! methods. Investigating how Arrays are managed whit-in mruby, it seems that ary_modify should be called whenever I intend to modify its content.

That function is declared in array.c as static void and therefore not accessible from GEMS. Is that intended? If so, is there an alternative? Any advice?

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