[Vala] forward déclaration
- From: picca <picca synchrotron-soleil Fr>
- To: vala-list gnome org
- Subject: [Vala] forward déclaration
- Date: Fri, 1 Aug 2008 17:14:48 +0200
Hello
I have a C project with two structures _HklVector and _HklMatrix in two
different files the first one is defined in the hkl-vector.h and the
second one from hkl-matrix.h
But in the first file methods depend of _HklMatrix and in the second it
depends of _HklVector. So converting this C file to vala files do not
compile. Indeed vala do not produce forward declaration.
hkl-vector.h: void hkl_vector_times_matrix(vector, matrix)
hkl-matrix.h: void hkl_matrix_times_vector(matrix, vector)
I would like to separate the two class instead of putting both in the same vala file.
Is it possible ?
Cheers
Frederic
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]