#ifndef _THE_RUBY_RACER_ #define _THE_RUBY_RACER_ #include #include #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) VALUE rr_define_class(const char *name, VALUE superclass = rb_cObject); VALUE rr_define_const(const char *name, VALUE value); VALUE rr_str_to_perl_case(VALUE str); VALUE rr_str_to_camel_case(VALUE str); VALUE rr_v82rb(v8::Handle value); VALUE rr_v82rb(v8::Handle value); VALUE rr_v82rb(v8::Handle value); VALUE rr_v82rb(v8::Handle value); VALUE rr_v82rb(v8::Handle value); VALUE rr_v82rb(v8::Handle value); VALUE rr_v82rb(v8::Handle value); VALUE rr_v82rb(v8::Handle value); VALUE rr_v82rb(v8::Handle value); VALUE rr_v82rb(v8::Handle value); VALUE rr_v82rb(v8::Handle value); VALUE rr_v82rb(bool value); VALUE rr_v82rb(double value); VALUE rr_v82rb(int64_t value); VALUE rr_v82rb(uint32_t value); VALUE rr_v82rb(int32_t value); v8::Handle rr_rb2v8(VALUE value); #endif