- Stub should use the constructor which has a parameter port in case of
'delegate' type
Change-Id: I9f5ad93f886534126a5011f560bb924395f9e675
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
if (make_new_type)
ret = n + " ";
- ret += id + " = new " + n +"();\n";
- if (IsDelegateType(type.ToString()))
+ if (IsDelegateType(type.ToString())) {
+ ret += id + " = new " + n +"(port);\n";
ret += "CallbackBase.";
+ } else {
+ ret += id + " = new " + n +"();\n";
+ }
ret += "Deserialize(" + parcel + ", " + id +");\n";
return ret;
}