Re: Can GTK run without a C main function?



On 03/24/2012 04:31 PM, Michael Torrie wrote:
>> I am presently trying to compile a mixed c ada application. The program 
>> calls C GTK in a non main c function. The main function is on the Ada side.
>>
>> Is this permissible? Does GTK depend on a C entry point?

You can also set up GTK using pure ada.  Then C functions should be able
to call into it using C GTK calls and it should work fine.

http://libre.adacore.com/libre/tools/gtkada/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]