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

22 lines
518 B
C++

// -*- mode: c++ -*-
#ifndef RR_SIGNATURE_H
#define RR_SIGNATURE_H
namespace rr {
class Signature : public Ref<v8::Signature> {
public:
Signature(VALUE self) : Ref<v8::Signature>(self) {}
Signature(v8::Isolate* i, v8::Local<v8::Signature> s) :
Ref<v8::Signature>(i, s) {}
static void Init() {
ClassBuilder("Signature").
defineSingletonMethod("New", &New).
store(&Class);
}
static VALUE New(int argc, VALUE argv[], VALUE self);
};
}
#endif /* RR_SIGNATURE_H */