mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 18:25:58 +02:00
* fixed typed file read/write
This commit is contained in:
parent
ffddbaccac
commit
10aa438409
@ -379,7 +379,8 @@ unit types;
|
|||||||
{ true if a parameter is too large to copy and only the address is pushed }
|
{ true if a parameter is too large to copy and only the address is pushed }
|
||||||
function push_addr_param(def : pdef) : boolean;
|
function push_addr_param(def : pdef) : boolean;
|
||||||
begin
|
begin
|
||||||
push_addr_param:=(def^.deftype in [arraydef,objectdef,formaldef,recorddef]) or
|
push_addr_param:=never_copy_const_param or
|
||||||
|
(def^.deftype in [arraydef,objectdef,formaldef,recorddef]) or
|
||||||
((def^.deftype=stringdef) and (pstringdef(def)^.string_typ in [st_shortstring,st_longstring])) or
|
((def^.deftype=stringdef) and (pstringdef(def)^.string_typ in [st_shortstring,st_longstring])) or
|
||||||
((def^.deftype=procvardef) and ((pprocvardef(def)^.options and pomethodpointer)<>0)) or
|
((def^.deftype=procvardef) and ((pprocvardef(def)^.options and pomethodpointer)<>0)) or
|
||||||
((def^.deftype=setdef) and (psetdef(def)^.settype<>smallset));
|
((def^.deftype=setdef) and (psetdef(def)^.settype<>smallset));
|
||||||
@ -1046,7 +1047,10 @@ unit types;
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.44 1999-01-15 11:33:03 pierre
|
Revision 1.45 1999-01-20 12:34:22 peter
|
||||||
|
* fixed typed file read/write
|
||||||
|
|
||||||
|
Revision 1.44 1999/01/15 11:33:03 pierre
|
||||||
* bug in mmx code removed
|
* bug in mmx code removed
|
||||||
|
|
||||||
Revision 1.43 1998/12/30 13:41:20 peter
|
Revision 1.43 1998/12/30 13:41:20 peter
|
||||||
|
Loading…
Reference in New Issue
Block a user