comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@bix.com
Subject: Re: ada to c interfaces and CHARS_PTR
Date: 2000/03/10
Date: 2000-03-10T00:00:00+00:00	[thread overview]
Message-ID: <LN%x4.491$34.9257@news.swbell.net> (raw)
In-Reply-To: 38C7E515.29C42580@mindspring.com

If it dies when it tries to do a subroutine return, perhaps the
calling conventions don't match?

Also, what does strdup do?  If
  *inout_strg_fml = strdup(t_buffer);
means inout_strg_fml := t_buffer[0]'access, then after return,
when t_buffer no longer exist, inout_strg_fml will point to a
garbage location on the popped part of the stack.




  parent reply	other threads:[~2000-03-10  0:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-09  0:00 ada to c interfaces and CHARS_PTR Al Johnston
2000-03-09  0:00 ` Gisle S�lensminde
2000-03-09  0:00   ` Al Johnston
2000-03-13  0:00     ` Robert Dewar
2000-03-15  0:00       ` Al Johnston
2000-03-11  0:00   ` Simon Wright
2000-03-14  0:00     ` Al Johnston
2000-03-15  0:00       ` tmoran
2000-03-15  0:00         ` Al Johnston
2000-03-15  0:00       ` Robert Dewar
2000-03-09  0:00 ` Preben Randhol
2000-03-09  0:00   ` Al Johnston
2000-03-10  0:00 ` tmoran [this message]
2000-03-10  0:00   ` Al Johnston
2000-03-10  0:00 ` Al Johnston
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox