Hi. I find Genie, perfect for me, but i ask my self sometimes about
certain stuff that i can not answer, like for this simple hello world:

[indent=2]
init
  print "Hello World"

This produces the next main.c:

#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
#include <string.h>




void _main (char** args, int args_length1);



void _main (char** args, int args_length1) {
        g_print ("Hello World\n");
}


int main (int argc, char ** argv) {
        g_type_init ();
        _main (argv, argc);
        return 0;
}





Can i ask why string.h and stdlib.h are included?
Arent all of thoose wrapped by glib to make glib based applications
more uniform in different arquitectures?

Cheers.
Diego
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to