return GetStructIdWithNamespace(st);
},
[&]()->std::string {
- if (i->GetType().IsUserDefinedType())
- return GetParcelParamTypeString(i->GetType());
-
if (i->GetType().ToString() == "array")
return GetStringFromElementType(i->GetType()) + "*";
std::string str;
str += "!";
str += i->GetID();
- str += "|| ";
+ str += " || ";
str += "!" + i->GetID() + "_size";
return str;
}
},
[&]()->std::string {
if (type.IsUserDefinedType())
- return "&h->" + id + ", h->" + id;
+ return "&h->" + id + "->parcelable, h->" + id;
if (type.ToString() == "list")
return "g_list_length(h->" + id + ")";
if (type.ToString() == "array")
},
[&]()->std::string {
if (type.IsUserDefinedType())
- return "&h->" + id + "h->" + id;
+ return "&h->" + id + "->parcelable, h->" + id;
return "&h->" + id;
});
}
}
if (type.IsUserDefinedType()) {
- str += GetSetterString(type, id, "h->" + id);
+ str += GetHandlePrefix() + GetFullNameFromType(type) +
+ "_clone(h->"+ id + ", " + id +");" + NLine(1);
} else {
str += GetSetterString(type, "*" + id, "h->" + id);
}
return GetStructIdWithNamespace(st);
},
[&]()->std::string {
- if (i->GetType().IsUserDefinedType())
- return GetParcelParamTypeString(i->GetType());
-
if (i->GetType().ToString() == "array")
return GetStringFromElementType(i->GetType()) + "*";