[Kde-bindings] [Bug 115104] Fails to build in 64 bit architectures

Richard Dale Richard_Dale at tipitina.demon.co.uk
Wed Oct 26 08:58:25 UTC 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=115104         




------- Additional Comments From Richard_Dale tipitina demon co uk  2005-10-26 10:58 -------
SVN commit 474384 by rdale:

* Removed QPointArray.begin() and end() methods as they don't compile
  on 64 bit machines, and Iterators can't be used in QtJava anyway.
  Fixes problem reported by Adeodato S.

CCBUGS: 115104



 M  +6 -0      ChangeLog  
 M  +0 -2      javalib/org/kde/qt/QPointArray.java  
 M  +0 -12     javalib/qtjava/QPointArray.cpp  
 M  +0 -2      javalib/qtjava/QPointArray.h  


--- branches/KDE/3.5/kdebindings/qtjava/ChangeLog #474383:474384
 @ -1,3 +1,9  @
+2005-10-26  Richard Dale  <Richard_Dale tipitina demon co uk>
+
+	* Removed QPointArray.begin() and end() methods as they don't compile
+	  on 64 bit machines, and Iterators can't be used in QtJava anyway.
+	  Fixes problem reported by Adeodato S.
+
 2005-10-23  Richard Dale  <Richard_Dale tipitina demon co uk>
 
 	* Regenerated the java bindings from the Qt 3.3.5 headers
--- branches/KDE/3.5/kdebindings/qtjava/javalib/org/kde/qt/QPointArray.java #474383:474384
 @ -63,8 +63,6  @
 	public native boolean isNull();
 	public native boolean resize( int size);
 	public native boolean truncate( int pos);
-	public native int begin();
-	public native int end();
 	public native QPoint at(int index);
 	
 }
--- branches/KDE/3.5/kdebindings/qtjava/javalib/qtjava/QPointArray.cpp #474383:474384
 @ -273,18 +273,6  @
 	return (jboolean) ((QPointArrayJBridge*) QtSupport::getQt(env, obj))->truncate((uint) pos);
 }
 
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QPointArray_begin(JNIEnv *env, jobject obj)
-{
-	return (jint) ((QPointArrayJBridge*) QtSupport::getQt(env, obj))->begin();
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QPointArray_end(JNIEnv *env, jobject obj)
-{
-	return (jint) ((QPointArrayJBridge*) QtSupport::getQt(env, obj))->end();
-}
-
 JNIEXPORT jobject JNICALL
 Java_org_kde_qt_QPointArray_at(JNIEnv * env, jobject obj, jint index)
 {
--- branches/KDE/3.5/kdebindings/qtjava/javalib/qtjava/QPointArray.h #474383:474384
 @ -41,8 +41,6  @
 extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPointArray_isNull (JNIEnv *env, jobject);
 extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPointArray_resize (JNIEnv *env, jobject, jint);
 extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPointArray_truncate (JNIEnv *env, jobject, jint);
-extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPointArray_begin (JNIEnv *env, jobject);
-extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPointArray_end (JNIEnv *env, jobject);
 extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPointArray_at (JNIEnv *env, jobject, jint);
 
 #ifdef __cplusplus



More information about the Kde-bindings mailing list