1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00
therubyracer/ext/v8/null.h
2015-07-19 23:24:54 -05:00

18 lines
370 B
C++

// -*- mode: c++ -*-
#ifndef RR_NULL_H
#define RR_NULL_H
namespace rr {
class Null : public Ref<v8::Value> {
public:
Null(v8::Isolate* isolate, v8::Local<v8::Value> undefined) :
Ref<v8::Value>(isolate, undefined) {}
static inline void Init() {
ClassBuilder("Null", Primitive::Class).
store(&Class);
}
};
}
#endif /* RR_NULL_H */