mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
2fca33f9d0
The functionality will be added (that is, if I don't get bored) one thing at a time with the spec. If you want to test, point the libv8 gem (in Gemfile) to its trunk branch & my changes at stormbreakerbg/libv8 @ trunk. What works currently is getting V8 to initialize, say its version and create a new Isolate.
21 lines
332 B
C++
21 lines
332 B
C++
#ifndef THE_RUBY_RACER
|
|
#define THE_RUBY_RACER
|
|
|
|
#include <include/v8.h>
|
|
#include <include/libplatform/libplatform.h>
|
|
|
|
#include <ruby.h>
|
|
#include <vector>
|
|
#ifdef HAVE_RUBY_ENCODING_H
|
|
#include "ruby/encoding.h"
|
|
#endif
|
|
|
|
#include "class_builder.h"
|
|
#include "pointer.h"
|
|
|
|
#include "v8.h"
|
|
#include "isolate.h"
|
|
#include "handles.h"
|
|
|
|
#endif
|
|
|