From cc2788364dd9c6a14d94646f09222f4721740a15 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 28 Sep 2012 15:22:53 -0500 Subject: Attempt to make kross compile with Ruby 1.9.x --- lib/kross/ruby/rubyinterpreter.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib/kross/ruby/rubyinterpreter.h') diff --git a/lib/kross/ruby/rubyinterpreter.h b/lib/kross/ruby/rubyinterpreter.h index f16f2b3d1..0c7eb5fc4 100644 --- a/lib/kross/ruby/rubyinterpreter.h +++ b/lib/kross/ruby/rubyinterpreter.h @@ -61,6 +61,15 @@ class RubyInterpreter : public Kross::Api::Interpreter void finalizeRuby(); /// Load an external plugin / module. static VALUE require (VALUE, VALUE); + + public: + /** + * @return the ruby object with the module Kross, this module holds class + * definition used by kross, and scripts object. All kross specific objects + * should be member of that module. + */ + static VALUE krossModule(); + private: /// Private d-pointer. static RubyInterpreterPrivate* d; -- cgit v1.2.3