2010-05-08 13:34:52 -04:00
|
|
|
#ifndef _THE_RUBY_RACER_
|
|
|
|
#define _THE_RUBY_RACER_
|
|
|
|
|
|
|
|
#include <ruby.h>
|
|
|
|
|
2010-05-10 11:16:26 -04:00
|
|
|
#define rr_define_method(klass, name, impl, argc) rb_define_method(klass, name, (VALUE(*)(...))impl, argc)
|
|
|
|
#define rr_define_singleton_method(object, name, impl, argc) rb_define_singleton_method(object, name, (VALUE(*)(...))impl, argc)
|
2010-05-08 13:34:52 -04:00
|
|
|
|
2010-05-10 08:56:52 -04:00
|
|
|
VALUE rr_define_class(const char *name, VALUE superclass = rb_cObject);
|
2010-05-10 09:28:07 -04:00
|
|
|
VALUE rr_str_to_perl_case(VALUE str);
|
|
|
|
VALUE rr_str_to_camel_case(VALUE str);
|
2010-05-08 13:58:43 -04:00
|
|
|
|
2010-05-08 13:34:52 -04:00
|
|
|
#endif
|