Sha256: aefad84a4729fb050203d345a59f7d81a6498dbd66566695e02283caab4fa54b

Contents?: true

Size: 623 Bytes

Versions: 6

Compression:

Stored size: 623 Bytes

Contents

#ifndef __converters_h__
#define __converters_h__

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

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);

#endif

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
therubyracer-0.7.1 ext/v8/converters.h
therubyracer-0.7.1.pre ext/v8/converters.h
therubyracer-0.7.0 ext/v8/converters.h
therubyracer-0.7.0.pre ext/v8/converters.h
therubyracer-0.4.2 ext/v8/converters.h
therubyracer-0.4.1 ext/v8/converters.h