From: Pi <pi3_1415926536@yahoo.ca>
Subject: OUT = IN OUT for pointers ???
Date: Tue, 6 Nov 2001 18:58:33 -0500
Date: 2001-11-06T18:58:33-05:00 [thread overview]
Message-ID: <tu_F7.18828$9_6.1941808@news20.bellglobal.com> (raw)
I came across some code where a pointer was passed in mode OUT.
If the pointer would be null initially, the code wouldn't work.
But it does work.
With a debugger I verified :
Even as the pointer is in mode OUT,
it's value is passed as if it was IN OUT.
I use GNAT, but Aonix seams to have the same behavior too.
Now, my question :
Must it be like that and is defined that way in the ARM ?
or it is an option that it left to the choice of the implementation ?
or is it a bug ?
--
3,14159265359
next reply other threads:[~2001-11-06 23:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-06 23:58 Pi [this message]
2001-11-08 14:12 ` OUT = IN OUT for pointers ??? Marc A. Criley
2001-11-08 17:46 ` Jeffrey Carter
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox