[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebindings/qtruby/rubylib/qtruby
From: Richard Dale <Richard_Dale () tipitina ! demon ! co ! uk>
Date: 2006-04-12 16:24:34
Message-ID: 1144859074.572197.30933.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 529137 by rdale:
* Change sources to headers to make building with extconf.rb easier
M +10 -2 marshall_basetypes.h
M +9 -0 marshall_complex.h
M +9 -0 marshall_primitives.h
--- trunk/KDE/kdebindings/qtruby/rubylib/qtruby/marshall_basetypes.h #529136:529137
@@ -1,3 +1,11 @@
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
template <class T> T* smoke_ptr(Marshall *m) { return (T*) m->item().s_voidp; }
@@ -30,8 +38,8 @@
*(m->var()) = primitive_to_ruby<T>( *smoke_ptr<T>(m) );
}
-#include "marshall_primitives.cpp"
-#include "marshall_complex.cpp"
+#include "marshall_primitives.h"
+#include "marshall_complex.h"
// Special case marshallers
--- trunk/KDE/kdebindings/qtruby/rubylib/qtruby/marshall_complex.h #529136:529137
@@ -1,3 +1,12 @@
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
template <>
static void marshall_from_ruby<long long>(Marshall *m)
{
--- trunk/KDE/kdebindings/qtruby/rubylib/qtruby/marshall_primitives.h #529136:529137
@@ -1,3 +1,12 @@
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
template <>
static bool ruby_to_primitive<bool>(VALUE v)
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic