Sha256: 867d3270d86c537a57022f814ef6e32e7370bcd45529b61f57aa0013cb3136d2

Contents?: true

Size: 597 Bytes

Versions: 6

Compression:

Stored size: 597 Bytes

Contents

#ifndef JOHNSON_SPIDERMONKEY_H
#define JOHNSON_SPIDERMONKEY_H

#include <assert.h>
#include <stdarg.h>
#include <stdbool.h>
#include <ruby.h>

#include "jsapi.h"
#include "jshash.h"
#include "jsobj.h"
#include "jsregexp.h"

#include "jroot.h"

#ifndef StringValueLen
#define StringValueLen(v) (RSTRING(v)->len)
#endif

#ifndef UNUSED
# if defined(__GNUC__)
#  define MAYBE_UNUSED(name) name __attribute__((unused))
#  define UNUSED(name) MAYBE_UNUSED(UNUSED_ ## name)
# else
#  define MAYBE_UNUSED(name) name
#  define UNUSED(name) name
# endif
#endif

typedef VALUE(*ruby_callback)(...);

#endif

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
johnson-2.0.0.pre1 ext/tracemonkey/tracemonkey.h
johnson-2.0.0.pre0 ext/tracemonkey/tracemonkey.h
smparkes-johnson-1.1.2.6 ext/tracemonkey/tracemonkey.h
smparkes-johnson-1.1.2.5 ext/tracemonkey/tracemonkey.h
smparkes-johnson-1.1.2.4 ext/tracemonkey/tracemonkey.h
smparkes-johnson-1.1.2.3 ext/tracemonkey/tracemonkey.h