Sha256: 74223b4b1de444aaea98f7cb3dde6b71a1c571658b4df21b2fa12413e3c834ac

Contents?: true

Size: 694 Bytes

Versions: 16

Compression:

Stored size: 694 Bytes

Contents

#include "spidermonkey.h"
#include "context.h"
#include "ruby_land_proxy.h"
#include "debugger.h"
#include "immutable_node.h"

void Init_spidermonkey()
{
  VALUE johnson = rb_define_module("Johnson"); // FIXME: this belongs outside the extension
  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

16 entries across 16 versions & 2 rubygems

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