Displaying 1 result from an estimated 1 matches for "ruby_int".
Did you mean:
ruby_init
2008 Feb 02
1
Ruby++ FFI (theoretical)
...y;
/* Constructor */
Foo::Foo(){
cout << "Hello Worldn";
}
/* Or maybe we setup some sort of default Object destructor instead
* of making people do it explicitly, unless they have special
requirements.
*/
Foo::~Foo(){
delete this;
}
VALUE Foo::method_a(){
return ruby_int(27);
}
VALUE Foo::method_b(VALUE av_name){
return "hello, " << ruby_name;
}
static VALUE(VALUE av_age){
return av_age + ruby_int(42);
}