mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-18 09:19:39 +02:00
* voidpointer can be converted to dynarray
This commit is contained in:
parent
88d81ba3d4
commit
73867aa44c
@ -563,9 +563,10 @@ implementation
|
||||
end;
|
||||
pointerdef :
|
||||
begin
|
||||
{ nil is compatible with dyn. arrays }
|
||||
{ nil and voidpointers are compatible with dyn. arrays }
|
||||
if is_dynamic_array(def_to) and
|
||||
(fromtreetype=niln) then
|
||||
((fromtreetype=niln) or
|
||||
is_voidpointer(def_from)) then
|
||||
begin
|
||||
doconv:=tc_equal;
|
||||
eq:=te_convert_l1;
|
||||
@ -1274,7 +1275,10 @@ implementation
|
||||
end.
|
||||
{
|
||||
$Log$
|
||||
Revision 1.49 2004-03-04 17:22:32 peter
|
||||
Revision 1.50 2004-04-12 11:26:10 peter
|
||||
* voidpointer can be converted to dynarray
|
||||
|
||||
Revision 1.49 2004/03/04 17:22:32 peter
|
||||
* use defs_equal when comparing pointer types
|
||||
|
||||
Revision 1.48 2004/03/03 22:02:16 peter
|
||||
|
Loading…
Reference in New Issue
Block a user