projects
/
platform
/
core
/
appfw
/
tidl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a278ab1
)
Fix a bug about C Generator
55/263755/2
author
Hwankyu Jhun
<h.jhun@samsung.com>
Thu, 9 Sep 2021 09:57:47 +0000
(18:57 +0900)
committer
HwanKyu Jhun
<h.jhun@samsung.com>
Fri, 10 Sep 2021 01:19:53 +0000
(
01:19
+0000)
The delegate copy function has to set the callback function and the user data.
Change-Id: Ic9d0f65551d241da094aed667b8307da2b431c51
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
idlc/gen/c_proxy_body_gen_cb.h
patch
|
blob
|
history
diff --git
a/idlc/gen/c_proxy_body_gen_cb.h
b/idlc/gen/c_proxy_body_gen_cb.h
index
54885ea
..
572ce55
100644
(file)
--- a/
idlc/gen/c_proxy_body_gen_cb.h
+++ b/
idlc/gen/c_proxy_body_gen_cb.h
@@
-177,6
+177,9
@@
int <PREFIX>_<NAME>_<DELEGATE_NAME>_clone(<PREFIX>_<NAME>_<DELEGATE_NAME>_h h, <
return ret;
}
+ handle->callback = h->callback;
+ handle->user_data = h->user_data;
+
*clone = handle;
return RPC_PORT_ERROR_NONE;