From: Hwankyu Jhun Date: Thu, 9 Sep 2021 09:57:47 +0000 (+0900) Subject: Fix a bug about C Generator X-Git-Tag: submit/tizen/20210913.083303~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F55%2F263755%2F2;p=platform%2Fcore%2Fappfw%2Ftidl.git Fix a bug about C Generator The delegate copy function has to set the callback function and the user data. Change-Id: Ic9d0f65551d241da094aed667b8307da2b431c51 Signed-off-by: Hwankyu Jhun --- diff --git a/idlc/gen/c_proxy_body_gen_cb.h b/idlc/gen/c_proxy_body_gen_cb.h index 54885ea..572ce55 100644 --- a/idlc/gen/c_proxy_body_gen_cb.h +++ b/idlc/gen/c_proxy_body_gen_cb.h @@ -177,6 +177,9 @@ int ___clone(___h h, < return ret; } + handle->callback = h->callback; + handle->user_data = h->user_data; + *clone = handle; return RPC_PORT_ERROR_NONE;