Re: [Vala] *.h files problem



2009/2/11 Кутейников Дмитрий <kuteynikov gmail com>:
Vala generates *.c and *.h files. When two modules use each other, each of
them includes header of another. So if first module has a method with type
from second module, it cannot be included before this type was declared. At
the other hand, it should be included in the beginning of file, because
second module uses lots of types from first module. It causes errors. Can
you drop *.h files, and just copy all used declarations to *.c files?

_______________________________________________
Vala-list mailing list
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list



You should be using forward declaration which Vala seems to correctly
use for me. atleast for a very simple test.



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