Sha256: 534b22ec94408bc25b5ee9f83915749300b4fd0b2d647bbdb392ce1a86f8241e
Contents?: true
Size: 696 Bytes
Versions: 7
Compression:
Stored size: 696 Bytes
Contents
#include "spidermonkey.h" #include "context.h" #include "ruby_land_proxy.h" #include "debugger.h" #include "immutable_node.h" void Init_spidermonkey() { JS_SetCStringsAreUTF8(); VALUE johnson = rb_const_get(rb_mKernel, rb_intern("Johnson")); VALUE spidermonkey = rb_define_module_under(johnson, "SpiderMonkey"); init_Johnson_SpiderMonkey_Context(spidermonkey); init_Johnson_SpiderMonkey_Proxy(spidermonkey); init_Johnson_SpiderMonkey_Debugger(spidermonkey); init_Johnson_SpiderMonkey_Immutable_Node(spidermonkey); init_Johnson_SpiderMonkey_Runtime(spidermonkey); rb_define_const(spidermonkey, "VERSION", rb_obj_freeze(rb_str_new2(JS_GetImplementationVersion()))); }
Version data entries
7 entries across 7 versions & 2 rubygems