19#ifndef KROSS_RUBYRUBYEXTENSION_H
20#define KROSS_RUBYRUBYEXTENSION_H
27#include <api/object.h>
33class RubyExtensionPrivate;
40 friend class RubyInterpreter;
41 friend class RubyModule;
42 friend class RubyScript;
59 static VALUE method_missing( int argc, VALUE *argv, VALUE self);
70 static void delete_object( void* object);
74 static void delete_exception( void* object);
79 static bool isOfExceptionType(VALUE obj);
83 static bool isOfObjectType(VALUE obj);
97 static int convertHash_i(VALUE key, VALUE value, VALUE vmap);
111 static VALUE toVALUE( const TQString& s);
118 static VALUE toVALUE(TQStringList list);
125 static VALUE toVALUE(TQStringVariantMap map);
132 static VALUE toVALUE(TQValueList<TQVariant> list);
138 static VALUE toVALUE( const TQVariant& variant);
155 RubyExtensionPrivate* d;
TDESharedPtr< Exception > Ptr Shared pointer to implement reference-counting.
TDESharedPtr< List > Ptr Shared pointer to implement reference-counting.
TDESharedPtr< Object > Ptr Shared pointer to implement reference-counting.
RubyExtension(Kross::Api::Object::Ptr object) Constructor.
~RubyExtension() Destructor.
The Ruby plugin for the Kross scripting framework.
The Kross scripting bridge to embed scripting functionality into an application.
|