[Vala] *.h files problem



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?


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