mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
16 lines
315 B
C++
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
|