* skip hidden function result parameters when generating message signatures

git-svn-id: branches/objc@13662 -
This commit is contained in:
Jonas Maebe 2009-09-06 17:18:49 +00:00
parent 27385550f8
commit 1048ac96d5

View File

@ -505,6 +505,8 @@ implementation
for i:=0 to pd.paras.count-1 do
begin
vs:=tparavarsym(pd.paras[i]);
if (vo_is_funcret in vs.varoptions) then
continue;
{ addencodedtype always assumes a value parameter, so add
a pointer indirection for var/out parameters. }
if not paramanager.push_addr_param(vs_value,vs.vardef,pocall_cdecl) and