public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Ada type in binding for C99 bool
@ 2009-09-21 20:04 Joel Sherrill
  2009-09-22 17:05 ` Florian Weimer
  0 siblings, 1 reply; 6+ messages in thread
From: Joel Sherrill @ 2009-09-21 20:04 UTC (permalink / raw)
  To: gcc

Hi,

What is the proper type to use in an Ada binding
for a C method that returns a C99 bool?

This appears to be an issue in s-stchop-rtems.adb
where it binds to the C routine:

bool rtems_stack_checker_is_blown( void )

Thanks.

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-09-22 19:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-21 20:04 Ada type in binding for C99 bool Joel Sherrill
2009-09-22 17:05 ` Florian Weimer
2009-09-22 17:54   ` Joel Sherrill
2009-09-22 18:00     ` Gabriel Dos Reis
2009-09-22 18:21     ` Florian Weimer
2009-09-22 19:03     ` Joseph S. Myers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).