Sha256: d24968ff41bc000a89e1c08189f59a39cf55a0909252eff9148eedc6c4d92c0a

Contents?: true

Size: 680 Bytes

Versions: 74

Compression:

Stored size: 680 Bytes

Contents

#ifndef _RR_V8_WEAKREF_
#define _RR_V8_WEAKREF_ 

#include <v8.h>
#include "ruby.h"
#include "rr.h"

struct v8_weakref  {
  v8_weakref(VALUE object);
  VALUE get();
  void set(VALUE object);
  void retain();
  void release();

  VALUE object_id;
  bool v8_active;
  bool rb_active;
  v8::Persistent<v8::External> external;
};

void  v8_weakref_dispose(v8::Persistent<v8::Value> value, void* weakref);
VALUE v8_weakref_finalize(VALUE self, VALUE object_id);
VALUE v8_weakref_objectspace();
VALUE v8_weakref_nil(VALUE nil, VALUE exception);
VALUE v8_weakref_id2ref(VALUE id);

// extern "C" VALUE rb_proc_new(VALUE (*)(ANYARGS/* VALUE yieldarg[, VALUE procarg] */), VALUE);

#endif

Version data entries

74 entries across 74 versions & 5 rubygems

Version Path
classiccms-0.7.5 vendor/bundle/gems/therubyracer-0.10.1/ext/v8/v8_weakref.h
classiccms-0.7.4 vendor/bundle/gems/therubyracer-0.10.1/ext/v8/v8_weakref.h
classiccms-0.7.3 vendor/bundle/gems/therubyracer-0.10.1/ext/v8/v8_weakref.h
classiccms-0.7.2 vendor/bundle/gems/therubyracer-0.10.1/ext/v8/v8_weakref.h
classiccms-0.7.1 vendor/bundle/gems/therubyracer-0.10.1/ext/v8/v8_weakref.h
classiccms-0.7.0 vendor/bundle/gems/therubyracer-0.10.1/ext/v8/v8_weakref.h
classiccms-0.6.9 vendor/bundle/gems/therubyracer-0.10.1/ext/v8/v8_weakref.h
classiccms-0.6.8 vendor/bundle/gems/therubyracer-0.10.1/ext/v8/v8_weakref.h
classiccms-0.6.7 vendor/bundle/gems/therubyracer-0.10.1/ext/v8/v8_weakref.h
classiccms-0.6.6 vendor/bundle/gems/therubyracer-0.10.1/ext/v8/v8_weakref.h
classiccms-0.6.5 vendor/bundle/gems/therubyracer-0.10.1/ext/v8/v8_weakref.h
classiccms-0.6.4 vendor/bundle/gems/therubyracer-0.10.1/ext/v8/v8_weakref.h
classiccms-0.6.3 vendor/bundle/gems/therubyracer-0.10.1/ext/v8/v8_weakref.h
classiccms-0.6.2 vendor/bundle/gems/therubyracer-0.10.1/ext/v8/v8_weakref.h
classiccms-0.6.1 vendor/bundle/gems/therubyracer-0.10.1/ext/v8/v8_weakref.h
classiccms-0.6.0 vendor/bundle/gems/therubyracer-0.10.1/ext/v8/v8_weakref.h
classiccms-0.5.17 vendor/bundle/gems/therubyracer-0.10.1/ext/v8/v8_weakref.h
classiccms-0.5.16 vendor/bundle/gems/therubyracer-0.10.1/ext/v8/v8_weakref.h
classiccms-0.5.15 vendor/bundle/gems/therubyracer-0.10.1/ext/v8/v8_weakref.h
classiccms-0.5.14 vendor/bundle/gems/therubyracer-0.10.1/ext/v8/v8_weakref.h