projects
/
platform
/
core
/
uifw
/
dali-csharp-binder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6d4c084
)
Fix NUI.View.GetId() native crash
51/212551/1
author
dongsug.song
<dongsug.song@samsung.com>
Fri, 23 Aug 2019 01:35:59 +0000
(10:35 +0900)
committer
dongsug.song
<dongsug.song@samsung.com>
Fri, 23 Aug 2019 01:35:59 +0000
(10:35 +0900)
Change-Id: I58edfccd08be8b9a5a7fc2b0fa2f56200e5d303d
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
dali-csharp-binder/src/dali_wrap.cpp
patch
|
blob
|
history
diff --git
a/dali-csharp-binder/src/dali_wrap.cpp
b/dali-csharp-binder/src/dali_wrap.cpp
index
c12c3c1
..
1349d7b
100755
(executable)
--- a/
dali-csharp-binder/src/dali_wrap.cpp
+++ b/
dali-csharp-binder/src/dali_wrap.cpp
@@
-33802,6
+33802,12
@@
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Actor_GetId(void * jarg1) {
unsigned int result;
arg1 = (Dali::Actor *)jarg1;
+
+ if(!arg1) {
+ DALI_LOG_ERROR("[ERROR] actor is null! return -1");
+ return -1;
+ }
+
{
try {
result = (unsigned int)((Dali::Actor const *)arg1)->GetId();