Sha256: 8710aa3f88736c4bd358803df8f0d03ab1dc3d592eed2ce8b069e9ee2eb9d5f6

Contents?: true

Size: 718 Bytes

Versions: 1

Compression:

Stored size: 718 Bytes

Contents

#ifndef __converters_h__
#define __converters_h__

#include "convert_ruby.h"
#include "convert_string.h"
#include "convert_v8.h"
#include <cstring>

extern VALUE V8_To;

typedef RubyValueSource<V8LocalDest, v8::Local<v8::Value> > convert_rb_to_v8_t; 
typedef V8HandleSource<RubyValueDest, VALUE> convert_v8_to_rb_t;

typedef RubyValueSource<StringDest, std::string> convert_rb_to_string_t;
typedef V8HandleSource<StringDest, std::string> convert_v8_to_string_t;

VALUE V82RB(v8::Handle<v8::Value>& value);
v8::Local<v8::Value> RB2V8(VALUE value);

std::string RB2String(VALUE value);
std::string V82String(v8::Handle<v8::Value>& value);

v8::Local<v8::ObjectTemplate> RB_VALUE_2_V8_ObjectTemplate(VALUE value);

#endif

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
therubyracer-0.4.4 ext/v8/converters.h