1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00
therubyracer/ext/v8/v8.cc
2012-05-15 16:49:01 -05:00

14 lines
No EOL
230 B
C++

#include "rr.h"
namespace rr {
void V8::Init() {
ClassBuilder("V8").
defineSingletonMethod("IdleNotification", &IdleNotification);
}
VALUE V8::IdleNotification(VALUE self) {
return Bool(v8::V8::IdleNotification());
}
}