* pass shortstrings (and longstrings) by reference to C routines (this is

what Apple's universal interfaces expect)

git-svn-id: trunk@3343 -
This commit is contained in:
Jonas Maebe 2006-04-27 13:02:36 +00:00
parent 75661893fc
commit 34f1c427eb

View File

@ -206,7 +206,7 @@ unit cpupara;
objectdef : objectdef :
result:=is_object(def); result:=is_object(def);
stringdef : stringdef :
result:=not(calloption in [pocall_cdecl,pocall_cppdecl]) and (tstringdef(def).string_typ in [st_shortstring,st_longstring]); result:= (tstringdef(def).string_typ in [st_shortstring,st_longstring]);
procvardef : procvardef :
result:=not(calloption in [pocall_cdecl,pocall_cppdecl]) and (po_methodpointer in tprocvardef(def).procoptions); result:=not(calloption in [pocall_cdecl,pocall_cppdecl]) and (po_methodpointer in tprocvardef(def).procoptions);
setdef : setdef :