mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
14 lines
188 B
C++
14 lines
188 B
C++
|
#include <ruby/ruby.h>
|
||
|
|
||
|
static VALUE
|
||
|
func_arg1(VALUE self, VALUE arg1)
|
||
|
{
|
||
|
return arg1;
|
||
|
}
|
||
|
|
||
|
extern "C" void
|
||
|
Init_failure(void)
|
||
|
{
|
||
|
rb_define_method(rb_cObject, "arg1", func_arg1, 0);
|
||
|
}
|