This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Ada type in binding for C99 bool
- From: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Mon, 21 Sep 2009 15:04:34 -0500
- Subject: Ada type in binding for C99 bool
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