Login
From:
Robert Mosolgo
(Uncensored)
subscribe
Defining mruby Methods with C
https://rmosolgo.github.io/mruby/2014/11/21/defining-mruby-methods-with-c.html
links
backlinks
Roast topics
Find topics
Find it!
You can use C code to prepare methods for mruby scripts. The steps are: Defining a method Getting argument values Adding the method to the mrb_state Defining a Method To define a Ruby function...