Sha256: 466fe6503fa0ebd9a4f66472ec1843d0dbfa412c0ae118a32917d7b18e0bb344

Contents?: true

Size: 686 Bytes

Versions: 16

Compression:

Stored size: 686 Bytes

Contents

#ifndef JOHNSON_SPIDERMONKEY_CONVERSIONS_H
#define JOHNSON_SPIDERMONKEY_CONVERSIONS_H

#include "spidermonkey.h"
#include "context.h"
#include "runtime.h"

DECLARE_RUBY_WRAPPER(convert_to_ruby, JohnsonRuntime* runtime; jsval js_value)
#define CONVERT_TO_RUBY(runtime, js) CALL_RUBY_WRAPPER(convert_to_ruby, runtime, js)

JSBool convert_to_js(JohnsonRuntime* runtime, VALUE ruby, jsval* retval);
VALUE convert_to_ruby(JohnsonRuntime* runtime, jsval js);
VALUE convert_js_string_to_ruby(JohnsonRuntime* runtime, JSString* str);

NORETURN(void raise_js_error_in_ruby(JohnsonRuntime* runtime));
JSBool report_ruby_error_in_js(JohnsonRuntime* runtime, int state, VALUE old_errinfo);

#endif

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
jbarnette-johnson-1.0.0.200806240111 ext/spidermonkey/conversions.h
jbarnette-johnson-1.0.0.200807291507 ext/spidermonkey/conversions.h
jbarnette-johnson-1.0.0.200808062051 ext/spidermonkey/conversions.h
jbarnette-johnson-1.0.0.200808062111 ext/spidermonkey/conversions.h
jbarnette-johnson-1.0.0.200811251942 ext/spidermonkey/conversions.h
jbarnette-johnson-1.0.0.20081126120511 ext/spidermonkey/conversions.h
jbarnette-johnson-1.0.0.20090127202936 ext/spidermonkey/conversions.h
jbarnette-johnson-1.0.0.20090225110820 ext/spidermonkey/conversions.h
jbarnette-johnson-1.0.0.20090326122910 ext/spidermonkey/conversions.h
jbarnette-johnson-1.0.0.20090326154650 ext/spidermonkey/conversions.h
jbarnette-johnson-1.0.0.20090326161333 ext/spidermonkey/conversions.h
jbarnette-johnson-1.0.0.20090402144841 ext/spidermonkey/conversions.h
jbarnette-johnson-1.0.0.20090402155420 ext/spidermonkey/conversions.h
johnson-1.1.1 ext/spidermonkey/conversions.h
johnson-1.1.2 ext/spidermonkey/conversions.h
johnson-1.1.0 ext/spidermonkey/conversions.h