"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "srcs/api-java/cpp/ItemJNI.cpp" between
heif-3.6.0.tar.gz and heif-3.6.1.tar.gz

About: HEIF (High Efficiency Image File Format) is a visual media container format for images and image sequences (MPEG-standard). This HEIF engine demonstrates its powerful features and capabilities (under Nokia HEIF license).

ItemJNI.cpp  (heif-3.6.0):ItemJNI.cpp  (heif-3.6.1)
skipping to change at line 24 skipping to change at line 24
#include <jni.h> #include <jni.h>
#include "Helpers.h" #include "Helpers.h"
#include "Item.h" #include "Item.h"
#define CLASS_NAME Item #define CLASS_NAME Item
extern "C" extern "C"
{ {
JNI_METHOD(jstring, getTypeNative) JNI_METHOD(jstring, getTypeNative)
{ {
auto *instance = (HEIFPP::Item *) getNativeHandle(env, self); auto* instance = (HEIFPP::Item*) getNativeHandle(env, self);
return env->NewStringUTF(instance->getType().value); return env->NewStringUTF(instance->getType().value);
} }
JNI_METHOD(void, destroyContextNative) JNI_METHOD(void, destroyContextNative)
{ {
setNativeHandle(env, self, 0); setNativeHandle(env, self, 0);
delete nativeSelf; delete nativeSelf;
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)