[Kde-bindings] branches/work/kdebindings-smoke2

Arno Rehn kde at arnorehn.de
Sun Nov 25 17:12:12 UTC 2007


SVN commit 741426 by arnorehn:

* Added ruby bindings. At least they compile now, getting them to work is
  another thing.

CCMAIL: kde-bindings at kde.org



 M  +1 -1      CMakeLists.txt  
 M  +5 -0      ChangeLog  
 M  +2 -1      csharp/qyoto/CMakeLists.txt  
 M  +6 -0      csharp/qyoto/src/qyoto.cpp  
 M  +1 -0      csharp/qyoto/src/qyoto.h  
 A             ruby (directory)  
 A             ruby/CMakeLists.txt  
 A             ruby/qtruby (directory)  
 A             ruby/qtruby/AUTHORS  
 A             ruby/qtruby/CMakeLists.txt  
 A             ruby/qtruby/COPYING  
 A             ruby/qtruby/ChangeLog  
 A             ruby/qtruby/INSTALL  
 A             ruby/qtruby/README  
 A             ruby/qtruby/TODO  
 A             ruby/qtruby/bin (directory)  
 A             ruby/qtruby/bin/CMakeLists.txt  
 AM            ruby/qtruby/bin/rbqtapi  
 AM            ruby/qtruby/bin/rbqtsh  
 A             ruby/qtruby/rails_support (directory)  
 A             ruby/qtruby/rails_support/CMakeLists.txt  
 A             ruby/qtruby/rails_support/active_item_model.rb  
 A             ruby/qtruby/rails_support/active_table_model.rb  
 A             ruby/qtruby/src (directory)  
 A             ruby/qtruby/src/CMakeLists.txt  
 A             ruby/qtruby/src/Qt.cpp   [License: GPL (v2+)]
 A             ruby/qtruby/src/extconf.rb  
 A             ruby/qtruby/src/handlers.cpp   [License: GPL (v2+)]
 A             ruby/qtruby/src/lib (directory)  
 A             ruby/qtruby/src/lib/CMakeLists.txt  
 A             ruby/qtruby/src/lib/Qt (directory)  
 A             ruby/qtruby/src/lib/Qt.rb  
 A             ruby/qtruby/src/lib/Qt/CMakeLists.txt  
 A             ruby/qtruby/src/lib/Qt/qtruby4.rb  
 A             ruby/qtruby/src/lib/Qt3.rb  
 A             ruby/qtruby/src/lib/Qt4.rb  
 A             ruby/qtruby/src/marshall.h   [License: UNKNOWN]
 A             ruby/qtruby/src/marshall_basetypes.h   [License: GPL (v2+)]
 A             ruby/qtruby/src/marshall_complex.h   [License: GPL (v2+)]
 A             ruby/qtruby/src/marshall_primitives.h   [License: GPL (v2+)]
 A             ruby/qtruby/src/marshall_types.cpp   [License: GPL (v2+)]
 A             ruby/qtruby/src/marshall_types.h   [License: GPL (v2+)]
 A             ruby/qtruby/src/qtruby.h   [License: GPL (v2+)]
 A             ruby/qtruby/src/smokeruby.h   [License: UNKNOWN]
 A             ruby/qtruby/test (directory)  
 A             ruby/qtruby/test/opoverloading.rb  
 A             ruby/qtruby/test/unittests.rb  


--- branches/work/kdebindings-smoke2/CMakeLists.txt #741425:741426
@@ -18,7 +18,7 @@
 #add_subdirectory(smoke)
 macro_optional_add_subdirectory(smoke)
 
-# macro_optional_add_subdirectory(ruby)
+macro_optional_add_subdirectory(ruby)
 # macro_optional_add_subdirectory(python)
 macro_optional_add_subdirectory(csharp)
 
--- branches/work/kdebindings-smoke2/ChangeLog #741425:741426
@@ -1,3 +1,8 @@
+2007-11-25  Arno Rehn  <arno at arnorehn.de>
+
+	* Added ruby bindings. At least they compile now, getting them to work is
+	  another thing.
+
 2007-09-11  Arno Rehn  <arno at arnorehn.de>
 
 	* Code cleanup of Qyoto:
--- branches/work/kdebindings-smoke2/csharp/qyoto/CMakeLists.txt #741425:741426
@@ -55,7 +55,8 @@
 ADD_DEPENDENCIES (qt-dotnet qyoto)
 
 INSTALL(TARGETS qyoto LIBRARY DESTINATION ${LIB_INSTALL_DIR})
-INSTALL(FILES src/qyoto.h DESTINATION include)
+INSTALL(FILES src/qyoto.h DESTINATION include/qyoto)
+INSTALL(FILES src/marshall.h DESTINATION include/qyoto)
 INSTALL_GAC(qt-dotnet)
 
 #ADD_SUBDIRECTORY(tools)
--- branches/work/kdebindings-smoke2/csharp/qyoto/src/qyoto.cpp #741425:741426
@@ -347,6 +347,12 @@
     }
 }
 
+void *get_smoke_object(GCHandle obj)
+{
+	if (!obj) return 0;
+	return (*GetSmokeObject)(obj);
+}
+
 extern "C" {
 
 static bool 
--- branches/work/kdebindings-smoke2/csharp/qyoto/src/qyoto.h #741425:741426
@@ -103,6 +103,7 @@
 extern Q_DECL_EXPORT CreateInstanceFn CreateInstance;
 extern Q_DECL_EXPORT GetInstanceFn GetInstance;
 extern Q_DECL_EXPORT GetIntPtr GetSmokeObject;
+extern Q_DECL_EXPORT void *get_smoke_object(GCHandle obj);
 
 extern Q_DECL_EXPORT SetIntPtr SetSmokeObject;
 
** branches/work/kdebindings-smoke2/ruby/qtruby/bin/rbqtapi #property svn:executable
   + *
** branches/work/kdebindings-smoke2/ruby/qtruby/bin/rbqtsh #property svn:executable
   + *



More information about the Kde-bindings mailing list