Re: Typed Pointer Assignment via Untyped Pointer Parameter not possible ?!?!?!
- From: "Skybuck Flying" <spam@xxxxxxxxxxx>
- Date: Sat, 29 Mar 2008 08:41:53 +0100
Oh well then I probably don't need to modify my linked list...
Since it would probably still require typecasts from typed pointer, to
untyped pointer if the list works with untyped pointers.
Might as well use the type checking feature of Delphi...
and make sure the external routines use the alias trick:
MyNode : PMyNode;
Node : Pnode absolute MyNode;
then just do:
List.Add( Node );
Bye,
Skybuck.
.
- References:
- Typed Pointer Assignment via Untyped Pointer Parameter not possible ?!?!?!
- From: Skybuck Flying
- Re: Typed Pointer Assignment via Untyped Pointer Parameter not possible ?!?!?!
- From: Skybuck Flying
- Re: Typed Pointer Assignment via Untyped Pointer Parameter not possible ?!?!?!
- From: Skybuck Flying
- Typed Pointer Assignment via Untyped Pointer Parameter not possible ?!?!?!
- Prev by Date: Re: Typed Pointer Assignment via Untyped Pointer Parameter not possible ?!?!?!
- Next by Date: Re: *** Fitna, the most beautifull film of the last decade ***
- Previous by thread: Re: Typed Pointer Assignment via Untyped Pointer Parameter not possible ?!?!?!
- Next by thread: Re: *** Fitna, the most beautifull film of the last decade ***
- Index(es):