1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00
therubyracer/ext/v8/backref.h
Georgy Angelov 52e52c1a04 Remove #Enter, #Exit and ::GetCurrent from C::Isolate
Also lock on some more places
2015-04-04 14:16:15 +00:00

29 lines
458 B
C++

#ifndef RR_BACKREF
#define RR_BACKREF
namespace rr {
class Backref {
public:
static void Init();
Backref(VALUE value);
virtual ~Backref();
VALUE get();
VALUE set(VALUE value);
v8::Handle<v8::External> toExternal(v8::Isolate*);
static void release(const v8::WeakCallbackData<v8::External, Backref>& data);
private:
VALUE storage;
static VALUE Storage;
static ID _new;
static ID object;
};
}
#endif