Sha256: 828a80295e8c9aedad24e97d0786b0b0ee9f8561ef72074780ad444d46a42784

Contents?: true

Size: 595 Bytes

Versions: 3

Compression:

Stored size: 595 Bytes

Contents

#ifndef JOHNSON_TRACEMONKEY_H
#define JOHNSON_TRACEMONKEY_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

3 entries across 3 versions & 2 rubygems

Version Path
pre-johnson-2.0.0 ext/tracemonkey/tracemonkey.h
johnson-2.0.0.pre3 ext/tracemonkey/tracemonkey.h
johnson-2.0.0.pre2 ext/tracemonkey/tracemonkey.h