#include <ruby_reference.hpp>
Public Types | |
typedef void(* | Ruby_Data_Func )(T *obj) |
A function that takes a T* and returns void. | |
Static Public Member Functions | |
VALUE | wrap (VALUE klass, Ruby_Data_Func mark, Ruby_Data_Func free, T *obj) |
Equivalent Data_Wrap_Struct. | |
T * | unwrap (VALUE value) |
Equivalent to Data_Get_Struct. |