You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/qtjava/javalib/qtjava/TQImageFormat.cpp

16 lines
645 B

//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqasyncimageio.h>
#include <tqimage.h>
#include <qtjava/QtSupport.h>
#include <qtjava/TQImageFormat.h>
JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QImageFormat_decode(JNIEnv* env, jobject obj, jobject img, jobject consumer, jcharArray buffer, jint length)
{
static TQByteArray* _qbytearray_buffer = 0;
jint xret = (jint) ((TQImageFormat*) QtSupport::getQt(env, obj))->decode((TQImage&)*(TQImage*) QtSupport::getQt(env, img), (TQImageConsumer*) QtSupport::getQt(env, consumer), (const uchar*) QtSupport::toUcharArray(env, buffer, &_qbytearray_buffer), (int) length);
return xret;
}