2012-01-31 15:52:08 -06:00
|
|
|
#ifndef THE_RUBY_RACER
|
|
|
|
#define THE_RUBY_RACER
|
|
|
|
|
2015-03-18 21:50:59 +00:00
|
|
|
#include <include/v8.h>
|
|
|
|
#include <include/libplatform/libplatform.h>
|
|
|
|
|
2012-01-31 15:52:08 -06:00
|
|
|
#include <ruby.h>
|
2012-05-17 10:30:37 -05:00
|
|
|
#include <vector>
|
2012-06-07 08:37:46 -05:00
|
|
|
#ifdef HAVE_RUBY_ENCODING_H
|
|
|
|
#include "ruby/encoding.h"
|
|
|
|
#endif
|
2012-01-31 15:52:08 -06:00
|
|
|
|
2015-04-04 18:23:23 +00:00
|
|
|
inline VALUE not_implemented(const char* message) {
|
|
|
|
rb_raise(rb_eStandardError, "not yet implemented %s", message);
|
|
|
|
|
|
|
|
return Qnil;
|
|
|
|
}
|
|
|
|
|
2015-03-18 21:50:59 +00:00
|
|
|
#include "class_builder.h"
|
2015-07-19 19:20:11 +00:00
|
|
|
#include "enum.h"
|
2015-07-16 17:37:48 +00:00
|
|
|
|
2015-07-16 21:55:31 -05:00
|
|
|
#include "maybe.h"
|
2015-03-21 09:51:17 +00:00
|
|
|
#include "equiv.h"
|
|
|
|
#include "bool.h"
|
2015-07-17 12:17:14 -05:00
|
|
|
#include "uint32_t.h"
|
2015-03-18 21:50:59 +00:00
|
|
|
#include "pointer.h"
|
2015-07-15 21:14:21 -05:00
|
|
|
#include "wrapper.h"
|
2015-04-04 14:03:06 +00:00
|
|
|
#include "isolate.h"
|
|
|
|
|
2015-03-20 20:47:57 +00:00
|
|
|
#include "ref.h"
|
2012-05-21 16:36:19 -05:00
|
|
|
|
2015-03-18 21:50:59 +00:00
|
|
|
#include "v8.h"
|
2015-04-04 14:03:06 +00:00
|
|
|
#include "locks.h"
|
2015-03-18 21:50:59 +00:00
|
|
|
#include "handles.h"
|
2015-03-20 20:47:57 +00:00
|
|
|
#include "context.h"
|
2012-01-31 15:52:08 -06:00
|
|
|
|
2015-03-20 20:47:57 +00:00
|
|
|
#include "value.h"
|
2015-07-19 23:24:54 -05:00
|
|
|
#include "boolean.h"
|
2015-07-16 17:37:48 +00:00
|
|
|
|
2015-03-21 09:51:17 +00:00
|
|
|
#include "primitive.h"
|
2015-07-19 23:24:54 -05:00
|
|
|
#include "undefined.h"
|
|
|
|
#include "null.h"
|
2015-07-09 22:15:53 -05:00
|
|
|
#include "number.h"
|
2015-07-13 19:16:08 -05:00
|
|
|
#include "integer.h"
|
|
|
|
|
2015-07-06 00:36:25 -05:00
|
|
|
#include "external.h"
|
2015-07-10 19:17:06 -05:00
|
|
|
#include "name.h"
|
2015-07-16 17:37:48 +00:00
|
|
|
// This one is named v8_string to avoid name collisions with C's string.h
|
2015-03-21 09:51:17 +00:00
|
|
|
#include "rr_string.h"
|
2015-07-10 19:17:06 -05:00
|
|
|
#include "symbol.h"
|
2015-03-18 21:50:59 +00:00
|
|
|
|
2015-07-08 23:17:39 -05:00
|
|
|
#include "function.h"
|
2015-07-16 17:37:48 +00:00
|
|
|
|
|
|
|
#include "object.h"
|
2015-07-30 21:15:10 +03:00
|
|
|
#include "date.h"
|
2015-07-15 21:43:51 -05:00
|
|
|
#include "return-value.h"
|
2015-07-21 18:15:25 +00:00
|
|
|
#include "property-callback.h"
|
2015-07-21 18:00:14 +00:00
|
|
|
#include "property-callback-info.h"
|
2015-07-16 17:37:48 +00:00
|
|
|
#include "array.h"
|
|
|
|
|
|
|
|
#include "script.h"
|
|
|
|
#include "script-origin.h"
|
2015-07-15 21:14:21 -05:00
|
|
|
#include "function-callback.h"
|
2015-04-04 18:23:23 +00:00
|
|
|
|
2015-03-20 20:47:57 +00:00
|
|
|
#endif
|