#include "value_holder.hpp"
#include <ruby.h>
#include "ruby_reference.ipp"
Include dependency graph for ruby_reference.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | Exc_Ruby |
Defines | |
#define | REGISTER_WITH_RUBY_GC(type, ptr) |
Register the given object with the Ruby garbage collector. | |
#define | REGISTER_WITH_RUBY_GC_AS_GLOBAL(type, ptr, v) |
Register the given object with the Ruby garbage collector and store a reference to it in v. |
|
Value: Ruby_Reference<type, Fast_Ruby_Data_Wrapper<type> > ( \ ptr, rb_cObject).get() In the unlikely event that an exception is raised, it will be a Ruby exception. |
|
Value: *v = Ruby_Reference<type, Fast_Ruby_Data_Wrapper<type> > ( \ ptr, rb_cObject).value(); \ rb_global_variable(v); In the unlikely event that an exception is raised, it will be a Ruby exception. |