Ada type in binding for C99 bool

Joel Sherrill joel.sherrill@oarcorp.com
Mon Sep 21 20:04:00 GMT 2009


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




More information about the Gcc mailing list