typelib_ruby.hh
Go to the documentation of this file.
00001 #ifndef TYPELIB_RUBY_EXT_HH
00002 #define TYPELIB_RUBY_EXT_HH
00003 
00004 #include <typelib/value.hh>
00005 
00006 // Public interface to the Typelib extension for Ruby
00007 
00008 /* Returns the Typelib::Value object wrapped by +value+ */
00009 Typelib::Value typelib_get(VALUE value);
00010 /* Converts a Typelib::Value to Ruby's VALUE. +registry+ is the wrapper of the
00011  * Registry on which +v+ is defined */
00012 VALUE typelib_to_ruby(Typelib::Value v, VALUE registry, VALUE parent);
00013 /* Initializes the memory held by +value+ by the Ruby value +new_value+ */
00014 VALUE typelib_from_ruby(Typelib::Value value, VALUE new_value);
00015 
00016 #endif
00017 


typelib
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Thu Jan 2 2014 11:38:41