mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-19 06:49:16 +02:00
* 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:
parent
75661893fc
commit
34f1c427eb
@ -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 :
|
||||||
|
Loading…
Reference in New Issue
Block a user