Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
kdebindings3-java
64bit.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 64bit.diff of Package kdebindings3-java
--- qtjava/javalib/org/kde/qt/QPointArray.java +++ qtjava/javalib/org/kde/qt/QPointArray.java @@ -63,8 +63,8 @@ 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 begin(); + public native QPoint end(); public native QPoint at(int index); } --- qtjava/javalib/qtjava/QPointArray.cpp +++ qtjava/javalib/qtjava/QPointArray.cpp @@ -273,16 +273,18 @@ return (jboolean) ((QPointArrayJBridge*) QtSupport::getQt(env, obj))->truncate((uint) pos); } -JNIEXPORT jint JNICALL +JNIEXPORT jobject JNICALL Java_org_kde_qt_QPointArray_begin(JNIEnv *env, jobject obj) { - return (jint) ((QPointArrayJBridge*) QtSupport::getQt(env, obj))->begin(); + jobject xret = QtSupport::objectForQtKey(env, (void*)((QPointArrayJBridge*) QtSupport::getQt(env, obj))->begin(), "org.kde.qt.QPoint"); + return xret; } -JNIEXPORT jint JNICALL +JNIEXPORT jobject JNICALL Java_org_kde_qt_QPointArray_end(JNIEnv *env, jobject obj) { - return (jint) ((QPointArrayJBridge*) QtSupport::getQt(env, obj))->end(); + jobject xret = QtSupport::objectForQtKey(env, (void*)((QPointArrayJBridge*) QtSupport::getQt(env, obj))->end(), "org.kde.qt.QPoint"); + return xret; } JNIEXPORT jobject JNICALL --- qtjava/javalib/qtjava/QPointArray.h +++ qtjava/javalib/qtjava/QPointArray.h @@ -258,17 +258,17 @@ /* * Class: org_kde_qt_QPointArray * Method: begin - * Signature: ()I + * Signature: ()Lorg/kde/qt/QPoint; */ -JNIEXPORT jint JNICALL Java_org_kde_qt_QPointArray_begin +JNIEXPORT jobject JNICALL Java_org_kde_qt_QPointArray_begin (JNIEnv *, jobject); /* * Class: org_kde_qt_QPointArray * Method: end - * Signature: ()I + * Signature: ()Lorg/kde/qt/QPoint; */ -JNIEXPORT jint JNICALL Java_org_kde_qt_QPointArray_end +JNIEXPORT jobject JNICALL Java_org_kde_qt_QPointArray_end (JNIEnv *, jobject); /*
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor