mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
46 lines
828 B
C++
46 lines
828 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
|
|
|
|
inline VALUE not_implemented(const char* message) {
|
|
rb_raise(rb_eStandardError, "not yet implemented %s", message);
|
|
|
|
return Qnil;
|
|
}
|
|
|
|
#include "class_builder.h"
|
|
|
|
#include "equiv.h"
|
|
#include "bool.h"
|
|
#include "pointer.h"
|
|
#include "isolate.h"
|
|
|
|
#include "ref.h"
|
|
|
|
#include "v8.h"
|
|
#include "locks.h"
|
|
#include "handles.h"
|
|
#include "context.h"
|
|
|
|
#include "uint32.h"
|
|
#include "value.h"
|
|
#include "backref.h"
|
|
|
|
#include "object.h"
|
|
#include "array.h"
|
|
#include "primitive.h"
|
|
// This one is named v8_string to avoid name collisions with C's string.h
|
|
#include "rr_string.h"
|
|
|
|
#include "function.h"
|
|
#include "script.h"
|
|
|
|
#endif
|