2009-12-07 02:20:16 -05:00
|
|
|
#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;
|
2010-01-13 17:51:46 -05:00
|
|
|
extern VALUE V8_C_Context;
|
2009-12-18 02:48:06 -05:00
|
|
|
|
2009-12-11 12:11:05 -05:00
|
|
|
VALUE v8_Context_New(int argc, VALUE *argv, VALUE self);
|
2010-01-13 10:13:13 -05:00
|
|
|
VALUE v8_Context_InContext(VALUE self);
|
2010-01-13 17:51:46 -05:00
|
|
|
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);
|
2010-02-08 11:53:20 -05:00
|
|
|
VALUE v8_cxt_eval(VALUE self, VALUE source, VALUE filename);
|
2010-01-13 17:51:46 -05:00
|
|
|
VALUE v8_cxt_eql(VALUE self, VALUE other);
|
2009-12-07 02:20:16 -05:00
|
|
|
|
|
|
|
#endif
|