Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

ruby_hacks.hpp File Reference

Hacks for addressing incompatibilities between various Ruby versions. More...

#include <version.h>
#include <ruby.h>

Include dependency graph for ruby_hacks.hpp:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  Exc_Ruby

Defines

#define rb_protect(f, arg, state)   ((::Exc_Ruby::Rb_Protect_Signature)(rb_protect))(f, arg, state)
 Ruby 1.6 has the wrong signature for rb_protect.

#define rb_gc_mark(value)   ((::Exc_Ruby::Rb_Gc_Mark_Signature)(rb_gc_mark))(value)
 Ruby 1.6 has the wrong signature for rb_gc_mark.

#define rb_set_end_proc(f, v)   ((::Exc_Ruby::Rb_Set_End_Proc_Signature)(rb_set_end_proc))(f, v)
 Ruby 1.6 has the wrong signature for rb_set_end_proc.


Typedefs

typedef VALUE(* RUBY_VALUE_FUNC )(VALUE)
 A function that takes a VALUE as a parameter and returns a VALUE.


Detailed Description

Hacks for addressing incompatibilities between various Ruby versions.


Generated on Sat Jan 1 12:02:25 2005 for Exceptional Ruby by doxygen 1.3.6