Sha256: edb3857db21b4ce8a6c13d0cd4cc0adda78977425b06ff0a2cb5cc6ffeb2d3ea
Contents?: true
Size: 714 Bytes
Versions: 1
Compression:
Stored size: 714 Bytes
Contents
#ifndef _RR_V8_WEAKREF_ #define _RR_V8_WEAKREF_ #include <v8.h> #include "ruby.h" #include "ruby/version.h" struct v8_weakref { v8_weakref(VALUE object); VALUE get(); void set(VALUE object); void retain(); void release(); VALUE object_id; 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); #if RUBY_VERSION_MAJOR == 1 && RUBY_VERSION_MINOR == 8 extern "C" VALUE rb_proc_new(VALUE (*)(ANYARGS/* VALUE yieldarg[, VALUE procarg] */), VALUE); #endif #endif
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
therubyracer-0.9.0beta1 | ext/v8/v8_weakref.h |