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

20 lines
489 B
C
Raw Normal View History

#ifndef _RUBY_V8_CXT_
#define _RUBY_V8_CXT_
#include "ruby.h"
#include "v8.h"
#include "v8_ref.h"
2009-12-18 02:48:06 -05:00
extern VALUE rb_cV8;
extern VALUE V8_C_Object;
extern VALUE V8_C_Context;
2009-12-18 02:48:06 -05:00
VALUE v8_Context_New(int argc, VALUE *argv, VALUE self);
VALUE v8_Context_InContext(VALUE self);
VALUE v8_Context_GetCurrent(VALUE self);
2009-12-07 09:06:06 -05:00
VALUE v8_cxt_Global(VALUE self);
VALUE v8_cxt_open(VALUE self);
VALUE v8_cxt_eval(VALUE self, VALUE source, VALUE filename);
VALUE v8_cxt_eql(VALUE self, VALUE other);
#endif