Sha256: 7642501d1f971e7a83ccaad22d4560c353876a166c22de678e123d7d6e41b453
Contents?: true
Size: 576 Bytes
Versions: 8
Compression:
Stored size: 576 Bytes
Contents
#ifndef _RR_V8_HANDLE_ #define _RR_V8_HANDLE_ #include <v8.h> #include "ruby.h" struct v8_handle { v8_handle(v8::Handle<void> object); virtual ~v8_handle(); v8::Persistent<void> handle; bool dead; VALUE weakref_callback; VALUE weakref_callback_parameters; }; void rr_init_handle(); v8_handle* rr_v8_handle_raw(VALUE value); template <class T> v8::Persistent<T>& rr_v8_handle(VALUE value) { return (v8::Persistent<T>&)(rr_v8_handle_raw(value)->handle); } VALUE rr_v8_handle_new(VALUE rbclass, v8::Handle<void> handle); VALUE rr_v8_handle_class(); #endif
Version data entries
8 entries across 8 versions & 1 rubygems