Sha256: 3f61a19276691adae7066b9706b29899eb66ad43cecf740c10d42ecf1542979b

Contents?: true

Size: 265 Bytes

Versions: 6

Compression:

Stored size: 265 Bytes

Contents

#ifndef __CUSTOM_TO_RUBY_H__
#define __CUSTOM_TO_RUBY_H__

#include <rice/Object.hpp>
#include <rice/to_from_ruby.hpp>

#include "my_type.hpp"

template<>
Rice::Object to_ruby<MyType>(MyType const & a);

template<>
MyType from_ruby<MyType>(Rice::Object x);

#endif

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rbplusplus-1.4.0 test/headers/code/custom_to_from_ruby.hpp
rbplusplus-1.3.0 test/headers/code/custom_to_from_ruby.hpp
rbplusplus-1.2.1 test/headers/code/custom_to_from_ruby.hpp
rbplusplus-1.2.0 test/headers/code/custom_to_from_ruby.hpp
rbplusplus-1.1.0 test/headers/code/custom_to_from_ruby.hpp
rbplusplus-1.0.3 test/headers/code/custom_to_from_ruby.hpp