summaryrefslogtreecommitdiffstats
path: root/lib/kross/ruby/rubyinterpreter.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-28 15:22:53 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-28 15:22:53 -0500
commitcc2788364dd9c6a14d94646f09222f4721740a15 (patch)
treeaa68add0c20846e1b30caf92b37c6b8f87bba35f /lib/kross/ruby/rubyinterpreter.h
parent3c352d5eb2ea84b316075c11a301001fbba46528 (diff)
downloadkoffice-cc2788364dd9c6a14d94646f09222f4721740a15.tar.gz
koffice-cc2788364dd9c6a14d94646f09222f4721740a15.zip
Attempt to make kross compile with Ruby 1.9.x
Diffstat (limited to 'lib/kross/ruby/rubyinterpreter.h')
-rw-r--r--lib/kross/ruby/rubyinterpreter.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/kross/ruby/rubyinterpreter.h b/lib/kross/ruby/rubyinterpreter.h
index f16f2b3d..0c7eb5fc 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;