2009/2/11 Кутейников Дмитрий <[email protected]>:
> 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
> [email protected]
> 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.
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to