1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00
therubyracer/ext/v8/primitive.h
2015-03-21 09:51:17 +00:00

16 lines
315 B
C++

#ifndef RR_PRIMITIVE
#define RR_PRIMITIVE
namespace rr {
class Primitive: public Ref<v8::Primitive> {
public:
static void Init();
inline Primitive(VALUE value) : Ref<v8::Primitive>(value) {}
inline Primitive(v8::Handle<v8::Primitive> primitive) : Ref<v8::Primitive>(primitive) {}
};
}
#endif