Re: [Vala] Using Gir instead of vapi (and bug 624923)



في خ، 23-12-2010 عند 11:39 +0100 ، كتب Luca Bruno:
> > http://abderrahim.arablug.org/tmp/anjutagirs.tbz2
> 
> When generating ianjuta-3.0 I get:
> IAnjuta-3.0.gir:26.5-26.72: error: The base type `void*` of struct
> `IAnjuta.BuilderHandle` is not a struct
>     <alias name="BuilderHandle" c:type="IAnjutaBuilderHandle">
I forgot the metadata file, it's attached :-)

> This need a fix, did you work on it already? By the way why you want Anjuta
> and IAnjuta in the same .vapi?
Because it's more vala-ish : in vala each (pkg-config) package has one
vapi, so that's what I'm doing (and that's what I have been doing with
gidl, by concatenating the vapis).

>  They have different namespaces while in vala,
> at least for now, you can only have one gir namespace per file.
I see this as a bug that needs to be solved eventually :-)

Thanks,
Abderrahim
BuilderHandle skip
Builder.*.handle type="void*"
Builder.build type="void*"
BuilderCallback.command type="void*"



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