Re: Can GTK run without a C main function?



Hi Micheal

Thanks for your feedback on this. I think my problem is lack of experience writing ada bindings. I will keep trying. Now I know it's not a C main issue.

Thanks again-Patrick


On 12-03-24 06:34 PM, Michael Torrie wrote:
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/
_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list




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