#ifndef RR_STRING #define RR_STRING namespace rr { class String: public Ref { public: static void Init(); static VALUE NewFromUtf8(VALUE self, VALUE isolate, VALUE value); static VALUE Utf8Value(VALUE self); static VALUE Concat(VALUE self, VALUE left, VALUE right); inline String(VALUE value) : Ref(value) {} inline String(v8::Isolate* isolate, v8::Handle string) : Ref(isolate, string) {} virtual operator v8::Handle() const; }; } #endif