projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tizen_5.0 codes into tizen_4.0
[platform/upstream/iotivity.git]
/
android
/
android_api
/
base
/
jni
/
JniOcStack.h
diff --git
a/android/android_api/base/jni/JniOcStack.h
b/android/android_api/base/jni/JniOcStack.h
index
db5ea1e
..
cc530d6
100644
(file)
--- a/
android/android_api/base/jni/JniOcStack.h
+++ b/
android/android_api/base/jni/JniOcStack.h
@@
-163,7
+163,8
@@
extern jmethodID g_mid_OcOicSecPdAcl_get_periods;
extern jmethodID g_mid_OcOicSecPdAcl_get_recurrences;
extern jmethodID g_mid_OcOicSecPdAcl_get_recurrences;
-typedef void(*RemoveListenerCallback)(JNIEnv* env, jobject jListener);
+//typedef void(*RemoveListenerCallback)(JNIEnv* env, jobject jListener);
+typedef std::function<void(JNIEnv* env, jobject jListener)> RemoveListenerCallback;
static jfieldID GetHandleField(JNIEnv *env, jobject jobj)
{
static jfieldID GetHandleField(JNIEnv *env, jobject jobj)
{