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?
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?