1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00
therubyracer/ext/v8/undefined.h

19 lines
400 B
C
Raw Normal View History

2015-07-19 23:24:54 -05:00
// -*- mode: c++ -*-
#ifndef RR_UNDEFINED_H
#define RR_UNDEFINED_H
namespace rr {
class Undefined : public Ref<v8::Value> {
public:
Undefined(v8::Isolate* isolate, v8::Local<v8::Value> undefined) :
Ref<v8::Value>(isolate, undefined) {}
static inline void Init() {
ClassBuilder("Undefined", Primitive::Class).
store(&Class);
}
};
}
#endif /* RR_UNDEFINED_H */