public
Description: Ruby wrapper for the Ogre rendering engine and more using rb++
Homepage: http://ogrerb.rubyforge.org
Clone URL: git://github.com/jameskilton/ogrerb.git
ogrerb / wrappers / noise / code / custom_to_from_ruby.hpp
100644 16 lines (11 sloc) 0.316 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __CUSTOM_TO_RUBY_H__
#define __CUSTOM_TO_RUBY_H__
 
#include <rice/Object.hpp>
#include <rice/String.hpp>
#include <rice/to_from_ruby.hpp>
#include <string>
 
template<>
std::string* from_ruby<std::string*>(Rice::Object x);
 
template<>
const std::string* from_ruby<const std::string*>(Rice::Object x);
 
#endif